Hossein Zahed

Web Developer, Entrepreneur, Software Educator

Scheduled Tasks in asp.net

Essentially, you just create a System.Timers.Timer in the Application_Start event of your Global.asax, and bam – instant scheduled task! I don’t necessarily recommend this, but I guess if you had no other option it could work.

using System.Timers; 
 
public class Global : System.Web.HttpApplication
{
    protected void Application_Start(object sender, EventArgs e)
    {
        Timer timer = new Timer(1000);
        timer.Elapsed += (object s, ElapsedEventArgs args) =>
        {
            LetsDoSomethingAwesome();
        };
        timer.Start();
    }
}

What's Cool about dotPeek?

1. Decompiling .NET 1.0-4.5 assemblies to C#

2. Support for .dll.exe.zip.vsix.nupkg, and .winmd files

3. Quick jump to a type, assembly, symbol, or type member

4. Effortless navigation to symbol declarations, implementations, derived and base symbols, and more

5. Accurate search for symbol usages with advanced presentation of search results

6. Overview of inheritance chains 

7. Support for downloading code from source servers

8. Syntax highlighting

9. Complete keyboard support

10. dotPeek is free!

Download it

Hosted jQuery Sources

The jQuery API has a number of hosts that have recent and up-to-date versions:

For example:

<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>

If you remove the http: prefix, using Google's hosted version of the jQuery API works seamlessly over both secure (https) and insecure (http) connections.

A list of the latest libraries and frameworks (including download links) can be found at scriptsrc.net.

See also: https://developers.google.com/speed/libraries/devguide