Thursday 13 August 2015
Basic of WIF(Role-based authorization in page by attribute)
Posted by
Unknown
,
on
02:29
When i tried to learn basic of WIF, i found few links by google like
http://www.codeproject.com/Articles/504399/Understanding-Windows-Identity-Foundation-WIF
http://www.codeproject.com/Articles/278940/Claim-based-Authentication-and-WIF-Part
http://blogs.msdn.com/b/alikl/archive/2010/08/10/windows-identity-foundation-wif-by-example-part-i-how-to-get-started.aspx
these links are really great but trust me, if you are a beginner in wif then you might be unsatisfied after go through these links. The question is WHY??
Because when you try to learn something new then first you might need practical hands on demo first. Project demo download link is in below, Download it, go through it, and provide your valuable suggestion..
Download Project
http://www.codeproject.com/Articles/504399/Understanding-Windows-Identity-Foundation-WIF
http://www.codeproject.com/Articles/278940/Claim-based-Authentication-and-WIF-Part
http://blogs.msdn.com/b/alikl/archive/2010/08/10/windows-identity-foundation-wif-by-example-part-i-how-to-get-started.aspx
these links are really great but trust me, if you are a beginner in wif then you might be unsatisfied after go through these links. The question is WHY??
Because when you try to learn something new then first you might need practical hands on demo first. Project demo download link is in below, Download it, go through it, and provide your valuable suggestion..
Download Project
Thursday 6 August 2015
Remove Server Response Header from asp.net web application
Posted by
Unknown
,
on
05:50
A frequently asked question is how to remove Server Response Header from all responses of web application (from aspx, css, js, html everything)... Now by googling you can see almost 5-8 types of solutions .. But most of them do not do your complete job (believe me i invested lot's of time on them) .. so the question is now among them which one is actually do your job ..
OK... first let me give you the answer so that you can get satisfied then i will let you know why it's the best one to choose .. append the below tag in web.config.If their are already <system.webServer> then also this will not create problem ...
<system.webServer>
<rewrite>
<outboundRules>
<rule name="changeServerHeader">
<match serverVariable="RESPONSE_Server" pattern=".*" />
<action type="Rewrite" value="" />
</rule>
</outboundRules>
</rewrite>
</system.webServer>
Try to keep it in separate <system.webServer> so that, it do not disturb other setting elements in <system.webServer> like below (don't worry it will not create any problem ;))..
OK... first let me give you the answer so that you can get satisfied then i will let you know why it's the best one to choose .. append the below tag in web.config.If their are already <system.webServer> then also this will not create problem ...
<system.webServer>
<rewrite>
<outboundRules>
<rule name="changeServerHeader">
<match serverVariable="RESPONSE_Server" pattern=".*" />
<action type="Rewrite" value="" />
</rule>
</outboundRules>
</rewrite>
</system.webServer>
Try to keep it in separate <system.webServer> so that, it do not disturb other setting elements in <system.webServer> like below (don't worry it will not create any problem ;))..
Subscribe to:
Posts
(
Atom
)