Quantcast
Channel: Alkampfer's Place» ASP.NET
Browsing all 7 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to check if a user belong to a certain role in ASP.Net

This question is really simple to answer… or no? Suppose you need to verify, in a service, if the user belongs to the xxxx group, and then take a different path of execution if the condition is...

View Article


Image may be NSFW.
Clik here to view.

ASp.NEt handlers locked down in Windows 7 IIS

I’m configuring a site on a new virtual machine and when I browse to a site, IIS gives me this errorThis configuration section cannot be used at this path. This happens when the section is locked at...

View Article


Image may be NSFW.
Clik here to view.

The strangest bug of IE I’ve ever seen

We have a web application written in asp.net and we experienced really strange problem after recent modification. We have a strange behavior in IE9 with redirects and after some inspection we found a...

View Article

Image may be NSFW.
Clik here to view.

How to test SSL based WCF services

I usually work with WCF service that needs to be secured with Certificates or simply using HTTPS. The usual question from other dev in the team is “how can I simulate HTTPS to work with WCF?”The...

View Article

Could not load file or assembly Microsoft.ReportViewer.WebForms

This error: Could not load file or assembly Microsoft.ReportViewer.WebForms sometimes shows up when you start working with old projects and you have only the latest version of Visual Studio installed,...

View Article


Signalr Error: the connection id is the incorrect format

I’m working with Signalr in a real project and I found a problem with authentication. This is the Repro Steps for the bug:1) the user open a browser tab to a public page that uses SignalR2) he opens...

View Article

Avoid logging sensitive information with ELMAH

ELMAH is probably de-facto the most commonly used solution to create an automatic logging infrastructure in your ASP.NET application. One of the problem you can encounter using it, is that this...

View Article
Browsing all 7 articles
Browse latest View live