Problems with Directory Services and Account Management in ASP.NET Core
I have a ASP.NET Core API project and I’d like to utilize DirectoryServices and DirectoryServices.AccountManagement namespaces.
I have a ASP.NET Core API project and I’d like to utilize DirectoryServices and DirectoryServices.AccountManagement namespaces.
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.
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.
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).
I’m using the session to hold a custom object UserSession and I access the session like this:
I have a web method with multiple parameters. The web method is only dependent on 2 fields, the rest are all optional.
I have 2 image files in my App_Data directory and I want to show them in my view like this:
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[].
I have one TextBox for Password and i want to set character for password, so which property can be used in asp.net?