Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

c#

Passing JS parameter to c# function in code behind- .net

September 4, 2022 by Magenaut

I am trying to call a c# function from JavaScript but the problem is, I need to pass a JS parameter for the function. How can I do this?

Categories ASP.NET, Q&A Tags ajax, asp.net, c#, javascript, jquery Leave a comment

Join consult using “Web Controller 2 with actions, using Entity Framework”

September 4, 2022 by Magenaut

I’m trying to create a consult using the framework I mencioned before.

Categories ASP.NET, Q&A Tags asp.net, c#, entity-framework Leave a comment

Problems with files downloading from Google Drive Api using asp.net mvc

September 4, 2022 by Magenaut

I can download files successfully on local server but after deployment I can’t its just keep loading without downloads

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, google-api-dotnet-client, google-drive-api Leave a comment

Microsoft Identity Pltaform with asp.net Core Identity

September 4, 2022 by Magenaut

I’m trying to utilize Microsoft Identity Platform for some users of web application. I’m using this example:
https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-aspnet-core-webapp

Categories ASP.NET, Q&A Tags asp.net, c#, microsoft-identity-platform Leave a comment

When creating a subscription with Stripe, automatically charge for the first month

September 4, 2022 by Magenaut

I am using Stripe Asp.net C# to charge customers for subscriptions when they sign up. I have multiple products (created inside stripe) that I pull from to assign to that customer’s subscription. It successfully

Categories ASP.NET, Q&A Tags asp.net, c#, stripe-payments Leave a comment

2 dimensional random values array with 2 user entered values from asp.net web form textboxes

September 4, 2022 by Magenaut

prepare a form which accepts 2 numeric positive nos. On clicking generate button, a 2 dimension array of 10 x 10 size will completely filled up with random numbers between those 2 user inputted numbers. You will print the entire matrix on screen in 10 rows by 10 cols using a function. There will be … Read more

Categories ASP.NET, Q&A Tags asp.net, c# Leave a comment

How can i compare date without time part in linq?

September 4, 2022 by Magenaut

How can I compare date without Time part in Nullable DateTime? In my model I have datetime field as

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, linq Leave a comment

How can I catch error from EPPlus where file doesn’t exist?

September 4, 2022 by Magenaut

I have function who take FilePath and return all of Excel information into a List.
My actual problem is not the function, but the error system who don’t work if my FilePath is bad or file not exist.

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, blazor, c# Leave a comment

Define route for specific URL

September 4, 2022 by Magenaut

My ASP.NET MVC 5 project is multilingual and I use culture to change the language.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, culture, routes Leave a comment

How to get primary key values from gridview which is not shown in gridview – c#

September 4, 2022 by Magenaut

I have a gridview looks like below.

Categories ASP.NET, Q&A Tags asp.net, c#, datatable, gridview Leave a comment
Older posts
Newer posts
← Previous Page1 … Page38 Page39 Page40 … Page451 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress