• Got a Tipila, google, windows live or facebook account ?
Tips tagged: .net
1
votes
use the following to get the machine name in c# System.Environment.MachineName
1
votes
Add 2 spaces to the beginning of each line to trick outlook not to remove line breaks in plain text emails. More info here
1
votes
When visiting a url like http://localhost:4050/api/tips/c%23/meta wcf webhttp service returns http 405 method not allowed. This happens only in casini and it works perfectly in IIS 7
1
votes
This is how to get the full class name of the current class public string className { get { return GetType().FullName; } }
0
votes
We need to send the correct http error code to the client and keep the url in the browser same as the requested one. But the customErrors config setting did not do this so use this method instead. Add following to turn off custom errors (in system.web) of web.config <customErrors mode="Off" /> Then add the following to ...
0
votes
Use this link for more info on ASP.NET forms authentication http://support.microsoft.com/kb/910443
0
votes
Use this code to get the encrypted text of the forms authentication link. FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(userName, false, 60); or FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, username, DateTime.Now, DateTime.Now.AddMinutes(30), isPersistent, userData, FormsAuthen ...
7
Matching Tips
Search options
  • Use the syntax:
    seach text, tag1, tag2,...
    to search for tips with the given tags.
  • Add ,mytips to the search text to search within MyTips only.
  • Use the syntax:
    ,tag1, tag2,...  to get all tips with the given tags.
Login to Tipila