get month first date and last date using my data
Hello Example 1:- My asp.net label1 show example April-2024 In Label2 I want to show 01-APR-2024 In Label3 I Want To Show 30-APR-2024 Example 2:- My asp.net label1 show example September-2024 In Label2 I want to show 01-SEP-2024 In Label3 I Want To…
Why is the blazor css isolation not working?
I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…
How to fix .NET 4.6 application pool crash on Windows Server 2022
We recently upgraded our Windows Server from 2012 to 2022. We are now experiencing App Pool crashes with IIS hosted applications running .NET 4.6. The crashes require us to stop the application pool, terminate the w3wp.exe task manually for that…
error ASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level, when adding <hostingEnvironment shadowCopyBinAssemblies="false" /> in web.config file.
I've an azure cloud service web role project. In the csproj file I have the pre-compilation steps to basically pre-compile the asp.net application and generate app_*.dll's. Now I've to add <hostingEnvironment shadowCopyBinAssemblies="false"…
Keep headerstyle color and also div font style in pdf format
I have asked a similar question in one of my posts. However, this has a bit of twist. I have a code that downloads or send a receipt to an email in PDF format. Once the button is clicked, it downloads the receipt and another button sends to email. The…
How to add the date selected to an ASP.net form with text boxes ? / v 3,5
hi, I an using a simple asp,net form to get the name, number and email address from my web page. It works fine but there is also a JS date picker which looks good and I am happy with it. My question is how do I pass the selected date to the code behind…
Converting to .net core project
We have one asp.net mvc3 project running on production using ado.net and this 10 years old project and we have 10 years old client data in sql server, Now we are planing to move asp.net core. So I have following question to converting asp.net mvc3 app to…
Application_start event not firing in server, but works just fine in debug.
We have an .net framework web application running on IIS 10. I've added some code in the Application_start method of Global.asax.cs and it's not getting fired at all in the server. This is working just fine in debug using visual studio 2022 using target…
configuration method not executing in startup.cs
I have created new mvc project and added startup.cs class with one method. but debug is not coming in this method directly debug is going on homecontroller but it should come first startup class. why my debug is not coming in configuration method. public…
Sending a List of objects through PostAsync
I have a list of objects each one made like this : public class PostElement { public string field1 {get;set;} public string field2 {get:set:} public string field3 {get;set;} } I need to send this list : List<PostElement> ElementList = new…
Two-factor authentication for Net Framework 2.0 (Visual Studio 2005)
Is Two-factor authentication using SMS and email with ASP.NET Identity support for .Net Framework 2.0 (Visual Studio 2005)?
Old .NET versions automatic uninstallation/removal
Hello, How are you removing old versions of .NET from your devices? Is there a way to automate this? To better clarify our issue, please see the screenshot below. We just installed the latest version (6.0.35) for both: .NET Runtime and Desktop Runtime…
Maui mobile app using Signalr is encoding hub name in ConnectionData parameter on iOS 17
We have a mobile app in production built using Maui. The server running the api is it connecting to uses .net framework. There are issues connecting to signalR from iOS17 devices. From debug we can see the following: iOS 17 device sets the connectionData…
i cannot edit the design and drag and drop controls from toolbox in webform
cannot drag and drop controls from toolbox in webforms
how to export into Microsoft excel from the coulmns of a table
WhatsApp Image 2024-09-24 at 3.34.05 PM.jpeg want to export data from the table as attached file into excel sheet in the attached format
ASP.NET Session Timeout Issue with ReportViewer in an iframe
I'm using the following setup to load SSRS reports with the <rsweb:ReportViewer> control in an ASP.NET web application: <rsweb:ReportViewer id="RptViewer" runat="server" width="100%" …
Using .Net 8 on ASP.Net Web Application (.Net Framework)
I want to use .Net 8 on my ASP.Net Web Application (.Net Framework). Presently the new project template only provides for .Net Framework 4.8.1 Is this even possible
validate texbox using this code in c#
Hello I have one asp.net textbox and one asp.net button when user click i want to check if Textbox1 has value 11 or 22 or 33 then okay if any other number i want to show alert as "Wrong Data" how to do so using asp.net c# thanking you
How do I check that a browser has ClickOnce enabled?
My software, [https://jazzsoftware.co.nz/], is written with VB.Net, and is delivered with ClickOnce. I've tried to make it very clear in the relevant web pages and the setup instructions [https://www.jazzsoftware.co.nz/Docs/JazzSetup.htm] that users…
new baby for asp.net core mvc
Hi all my all previous experience is using asp.net MVC, asp.net web, API and angular but recently I have install .NET 8 SDK and created asp.net core MVC empty project and i have following doubts. how to make authentication and authorization using…