Skip to content

Magenaut

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

ASP.NET

Problems with Directory Services and Account Management in ASP.NET Core

August 24, 2022 by Magenaut

I have a ASP.NET Core API project and I’d like to utilize DirectoryServices and DirectoryServices.AccountManagement namespaces.

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

Attaching validation to EF objects used in MVC controllers/views?

August 24, 2022 by Magenaut

We’re throwing together a quick project (CRUD forms) and decided to skip view models and use EF entities directly in controllers and views. Since I’m not used to this approach, I’m confused about handling validation.

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

getting javascript ‘Sys’ is undefined error

August 24, 2022 by Magenaut

On the developement machine my website is working fine but I am getting javascript ‘Sys’ is undefined error on hosting server and my AJAX is not working.

Categories ASP.NET, Q&A Tags ajax, asp.net, javascript, plesk, scriptmanager Leave a comment

DateTime issue in SQL Server

August 24, 2022 by Magenaut

I’m trying to do an INSERT into an already set DB in MS SQL Server, the DB server is in a shared hosting (godaddy).

Categories ASP.NET, Q&A Tags ado.net, asp.net, c#, datetime, sql-server Leave a comment

Asp.net – Do changes to session objects persist?

August 24, 2022 by Magenaut

I’m using the session to hold a custom object UserSession and I access the session like this:

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

How to pass optional parameters for web method?

August 24, 2022 by Magenaut

I have a web method with multiple parameters. The web method is only dependent on 2 fields, the rest are all optional.

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

WebBrowser Navigating function doesn’t work and handlers are not called

August 24, 2022 by Magenaut

Code below.

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

Show image stored in App_Data

August 24, 2022 by Magenaut

I have 2 image files in my App_Data directory and I want to show them in my view like this:

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

Convert excel workbook to byte[]

August 24, 2022 by Magenaut

I have an “excel library” workbook and want to convert it to a byte[] so I could return the data with the File method exist in asp.net mvc controller.
There are “Save” and “SaveToStream” method, but no convert to byte[].

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

How to set passwordchar property to asp.net TextBox?

August 24, 2022 by Magenaut

I have one TextBox for Password and i want to set character for password, so which property can be used in asp.net?

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