Skip to content

Magenaut

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

asp.net-mvc

ICSharpCode.SharpZipLib validate zip file

August 25, 2022 by Magenaut

Using ICSharpCode.SharpZipLib for C#, how can I validate that the file being passed is actually a valid zip file (not something that has been right clicked and renamed as .zip)?

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

How to display open/save dialog asp net mvc 4

August 25, 2022 by Magenaut

I am able to request a file and also have it returned.
I don´t know how to display a open/save dialog box.

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

Deserialize list of objects in C#

August 25, 2022 by Magenaut

I Use JsonConvert to serialize an object and save it in a database.
This is a sample of the serialized string that I saved in database:

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

How to structure a new ASP MVC app?

August 25, 2022 by Magenaut

I need to start a new mvc project and as always I have issues about asp identity, never know where to put it!

Categories ASP.NET, Q&A Tags asp.net, asp.net-identity, asp.net-mvc, asp.net-mvc-5, asp.net-web-api Leave a comment

Is it possible to access a profile without updating LastActivityDate?

August 25, 2022 by Magenaut

In asp.net (using MVC, but this happens in regular too)

Categories ASP.NET, Q&A Tags asp.net, asp.net-membership, asp.net-mvc, asp.net-profiles Leave a comment

Having classic ASP read in a key from appsettings in a web.config file

August 25, 2022 by Magenaut

OK so here’s the situation. I’ve got a classic ASP website running inside an MVC 4 application. I need the classic ASP website to be able to get a key from the appsettings section of the web.config file.

Categories ASP.NET, Q&A Tags asp-classic, asp.net, asp.net-mvc, web-config Leave a comment

Forms Authentication Timeout Logging

August 25, 2022 by Magenaut

I want to detect when a asp.net Form Authentication ticket has expired. I then want to log to the server the user that was signed out because of inactivity. Is there an event that fires on the server when the authentication ticket has expired?

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, form-authentication, session, session-timeout Leave a comment

Compile errors when using C# 7 features in new VS Studio 2017 ASP.NET MVC 5.2.3 project

August 25, 2022 by Magenaut

I’m using VS 2017 usually for console applications. But now I have to create a new ASP.NET MVC project and found something curious.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, c#-7.0, visual-studio-2017 Leave a comment

BeginRequest fires for static files in ASP.NET MVC app

August 25, 2022 by Magenaut

I was under the impression that static files (CSS, images, @font-face files, etc) bypassed ASP.NET completely, and were served directly by IIS.

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

How to set bootstrap checkbox in razor CheckBoxFor()

August 25, 2022 by Magenaut

I want to use bootstrap styled checkbox in my asp .net mvc form, however I find it very difficult. After hours looking for solution, I couldn’t find anything that works for me.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, html, razor, twitter-bootstrap Leave a comment
Older posts
Newer posts
← Previous Page1 … Page111 Page112 Page113 … Page131 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