ASP.NET Web API caches action filter attributes across requests
There seems to be some weird behavior in ASP.NET Web API (4.0.30506) that I haven’t witnessed before.
There seems to be some weird behavior in ASP.NET Web API (4.0.30506) that I haven’t witnessed before.
I know that it’s a subject that can raise a lot of debate, but I’d like to know what people think the various pros and cons of using Object Datasources are. I’m doing a project right now with another programmer who’s experience and comfort level are all rooted in classic ASP, and I’m unsure of which way is going to
a) get the job done quickly
b) get the job done with a minimum of fuss
My team is currently in the process of building an ASP.NET MVC application, and we’re trying to decide which of these frameworks to implement to deal with error handling and logging.
I’m writing an aspnet core 1 application.
Using a bearer token authentication I have the User property inside the controller with the correct identity. However I cant seem to find a way to grab with identity as I did before using the ClaimPrincipal.Current static.
What is the current best practice to get this data inside the BL layers with out passing the ClaimPrincipal object around?
We have a rather complicated system of permission handling in our (ASP.NET web) application. Users can have specific permissions on different kinds of objects, some permissions are even packed into groups / roles that are assigned to users. All in all this ends up in a pretty complicated mess where for determining whether a user can do / see something you have to evaluate many different sources of permissions and this is done somehow on-demand and based on specific situations.
I have authentication code:
I am unable to stream a word document that I create on the fly down to the browser. I am constantly getting a message from Microsoft Word that the document is corrupt.
I had populated an ASP.net dropdown list with AJAX now I need to get the Id to store in into the database in a C# method, (I’m using LINQ)
I built a website for a client and they would like a custom newsletter tool. Building the tool was easy, but I’m not sure how to send the email.
I have an HttpHandler configured in my web.config file like so: