Skip to content

Magenaut

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

asp.net-mvc

How to programmatically clear outputcache for controller action method

September 3, 2022 by Magenaut

If the controller action has the OutputCache attribute specified on an action, is there any way to clear the output cache without having to restart IIS?

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

how to get mac address of client that browse web site by asp.net mvc c#

September 3, 2022 by Magenaut

I’m trying to get mac address from the client’s machine that browse my web site, I’ve been used this:

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

How to return PDF to browser in MVC?

September 3, 2022 by Magenaut

I have this demo code for iTextSharp

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

ASP.NET Bundles how to disable minification

September 3, 2022 by Magenaut

I have debug="true" in both my web.config(s), and I just don’t want my bundles minified, but nothing I do seems to disable it. I’ve tried enableoptimisations=false, here is my code:

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

Remote Validation for LIST of MODELs

September 3, 2022 by Magenaut

I used the following tutorial:
http://msdn.microsoft.com/en-us/library/gg508808%28VS.98%29.aspx

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, model-binding, remote-validation Leave a comment

What is the equivalent of Server.MapPath in ASP.NET Core?

September 3, 2022 by Magenaut

I have this line in some code I want to copy into my controller, but the compiler complains that

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

How to get current user, and how to use User class in MVC5?

September 2, 2022 by Magenaut

‘Membership.GetUser()’ is null.

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

How to include a partial view inside a webform

September 2, 2022 by Magenaut

Some site I’m programming is using both ASP.NET MVC and WebForms.

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

How ViewBag in ASP.NET MVC works

September 2, 2022 by Magenaut

How does the ASP.NET MVC’s ViewBag work? MSDN says it is just an Object, which intrigues me, how does “Magic” properties such as ViewBag.Foo and magic strings ViewBag["Hello"] actually work?

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

ASP.NET MVC ViewModel Pattern

September 2, 2022 by Magenaut

EDIT: I made something much better to fill and read data from a view using ViewModels, called it ValueInjecter. http://valueinjecter.codeplex.com/

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, design-patterns, viewmodel Leave a comment
Older posts
Newer posts
← Previous Page1 … Page27 Page28 Page29 … 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