This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using (Html.BeginForm()) | |
{ | |
@Html.AntiForgeryToken() | |
} | |
//In the Controller method add the annotation [validateAntiForgeryToken] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Go into the command prompt. | |
- Run as admin. | |
- Go to the Framework folder. e.g. Windows\Micorosoft.Net\Framework\v2.0\ | |
- run aspnet_regiis -site "SiteNameInIIS" -app "/" -pe "connectionStrings" | |
To decrypt replace -pe with -pd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<smtp deliveryMethod="SpecifiedPickupDirectory"> | |
<specifiedPickupDirectory pickupDirectoryLocation="C:\TestMailMessages\" /> | |
</smtp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://stackoverflow.com/questions/211383/which-method-of-clearfix-is-best */ | |
/************************* | |
Solution 1 - http://nicolasgallagher.com/micro-clearfix-hack/ | |
*****************************/ | |
/* For modern browsers */ | |
.container:before, | |
.container:after { | |
content:""; | |
display:table; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'Liberation Sans'; | |
src: url('fonts/LiberationSans-Regular.ttf') format('truetype'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'Liberation Sans'; | |
src: url('fonts/LiberationSans-Italic.ttf') format('truetype'); | |
font-weight: normal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*display: inline; | |
zoom: 1; /*This also works for IE6*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
selector { | |
min-height:500px; | |
height:auto !important; | |
height:500px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn { | |
cursor: pointer; | |
cursor: hand; | |
display: inline-block; | |
text-indent: -9999px; | |
background: no-repeat top left; | |
} | |
.lt-ie8 .btn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="ie ie6 lte9 lte8 lte7 "> <![endif]--> | |
<!--[if IE 7]> <html class="ie ie7 lte9 lte8 lte7 "> <![endif]--> | |
<!--[if IE 8]> <html class="ie ie8 lte9 lte8 "> <![endif]--> | |
<!--[if IE 9]> <html class="ie ie9 lte9 "> <![endif]--> | |
<!--[if gt IE 9]> <html class=""> <![endif]--> | |
<!--[if !IE]><!--> <html class=""> <!--<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
OlderNewer