Skip to content

Magenaut

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

c#

Can I run MVC 5 application on .NET Framework 4.0?

September 1, 2022 by Magenaut

I have my MVC 5 application that I create in VS 2013. Now I’m trying to deploy this application and I have a question: Can I deploy MVC 5 on the server with 4.0 .Net Framework?

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

Cannot consume scoped service ‘MyDbContext’ from singleton ‘Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor’

September 1, 2022 by Magenaut

I’ve build a background task in my ASP.NET Core 2.1 following this tutorial: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-2.1#consuming-a-scoped-service-in-a-background-task

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

How to set a dropdownlist item as selected in ASP.NET?

September 1, 2022 by Magenaut

I want to set selecteditem for asp. net dropdownlist control programmatically.

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

OLEDB connection to Access Database (accdb)

September 1, 2022 by Magenaut

I want to make a simple application for an exercise, so it could be nice to connect to a simple database like Access (.accdb)

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

Why can’t I use resources as ErrorMessage with DataAnnotations?

September 1, 2022 by Magenaut

Why can’t I do like this?

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

How use selectedIndexChanged dropdownlist in clientSide and ServerSide

September 1, 2022 by Magenaut

How use selectedIndexChanged from asp.net dropdownlist in clientSide and ServerSide?

Categories ASP.NET, Q&A Tags asp.net, c#, drop-down-menu, javascript Leave a comment

Detecting Memory Leaks in ASP.NET

September 1, 2022 by Magenaut

When the application has been running for a while, use adplus to capture a memory dump of the process (It’s useful to use something such as Process Explorer to find the correct process ID to dump):

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

Could not load file or assembly ‘DotNetOpenAuth.Core

September 1, 2022 by Magenaut

I get the following error when I start my asp net mvc 4 application:

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

HttpWebRequest or WebRequest – Resume Download ASP.NET

September 1, 2022 by Magenaut

I would like to know if there is a way to know if a server supports resume download functionallity and if supported, how do I send a request to resume?

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

Multiple WebRequest in same session

September 1, 2022 by Magenaut

I am trying to write a function which saves a webpage (with its images) as a html page.
I am using HttpWebRequest to request for the content of webpages.
My function looks something like

Categories ASP.NET, Q&A Tags asp.net, c#, html Leave a comment
Older posts
Newer posts
← Previous Page1 … Page148 Page149 Page150 … 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