Category "asp.net"

Google Calendar V3 hangs when used outside local environment

I'm working on a wrapper for the .net version of the Google Calendar API. The authentication is rather simple and working fine locally (localhost:port). UserC

How to deploy an ASP.NET MVC application on build using MSBuild in Visual Studio 2015?

I want the application to be deployed to a local folder when I build the project. This should produce a zip file that I can use to import in IIS. How can I achi

how to get data from razorpay webhook

I enabled the webhook url in razorpay But I didn't understand how to get the data from webhook url when the payment is failed. Give the best example to underst

Replace $scope with "'controller' as" syntax

I'm following this AngularJS+ASP.NET tutorial and they make use of $scope, but I'm trying to replace that dated usage with the new syntax controller as describe

Does a SQL connection close with "using" if the connection comes from a static class?

Am I closing my SQL connection correctly, by placing it inside a "using" block? This is how I grab a new connection, execute a query, and return the results:

How to get and Set Gridview Dropdownlist Selectedvalue In JavaScript Or JQuery

I have a gridview in which i have two Templatefields which are having dropdownlist as ItemTemplates. On First DropDownList's SelectedValue Changed event,i want

Return the Method Name and Line Number upon Error in page in global.asax file

My code is as below , would like to get Page Name , Method Name and Page Line Number where error occured. void Application_Error(object sender, EventArgs e)

Hide gridview column header

I have a gridview that is populated from a sqldatasource with ajax, which is fired from a radcombox drop down. The below does not work because technically the g

"ErrorMessage":"Failed to find ABCGeckoWP.exe."

I have been beating my head for the last 7 hours on this. Full disclosure, I am a PHP guy and not the strongest at ASP.net. So I am coming to you experts. The

ASP.NET Core 6 running in k8s shutting down

OK I´m new to ASP.NET Core 6 and k8s. So far all apps I was hosting (java, js, python) didn't have any issue. Deployment service and ingress were created

How can i save a file that i create into a path

I´m developing a school project where i need to export a html table into a csv file, and when i click in a button i need to save that file into a path lik

dynamically added buttons not firing click event c# [duplicate]

I have some buttons that are being dynamically added to an asp.net page. However the onclick event is not being fired. Here is the code for it

ASP.NET Razor Pages submit button does nothing

I have this view: @page @model TreesOnMars.Pages.NewGameModel @{ ViewData["Title"] = "New Game"; } <h2>New Game</h2> <form method="POST"&g

Serving static file on ASP.NET MVC (C#)

I am completely new to .NET framework and i would like to know what is the best way to serve static content and to access user generated content. Suppose i hav

Serving static file on ASP.NET MVC (C#)

I am completely new to .NET framework and i would like to know what is the best way to serve static content and to access user generated content. Suppose i hav

Get current user id in ASP.NET Identity 2.0

I just switched over to using the new 2.0 version of the Identity Framework. In 1.0 I could get a user object by using manager.FindByIdAsync(User.Identity.GetU

Is it professional to save Users shopping cart in a sessionState for making it persistent using asp.net?

I want to make a persistent shopping cart for a MVC application, in other words if a user add some products to his/her cart when logged in and leaves the applic

SqlDataAdapter missing in a ASP.NET Core project

I'm trying to get a connection to a database without Entity Framework, using ADO.NET in a .NET Core 1.0 project. using System; using System.Collections.Generic

"No files matched the search pattern" in tfs build

I want to build my project from TFS Azure(VSTS). I have made one project which is under Asp.Net Core. I have made Build definition with Asp.Net Core Template a

Retrieve logged user info from microsoft graph in a framework .net environment

I need to implement SSO in a .net framework web application environment. Need to authenticate and retrieve the samaccountname of the logged user. I have a worki