Windows store privacy statement

I got the error from Microsoft while I was submit the app. The error is, “The app has declared access to network capabilities and no privacy statement was provided in the Windows Settings Charm.” The sad part is that this is so easy to fix. First you will need to create a new directory Privacy …

How to add reference System.Web.Optimization

The Microsoft.Web.Optimization package is now obsolete. With the final release of ASP.NET (MVC) 4 you should install the Microsoft ASP.NET Web Optimization Framework: Install the package from nuget: Right click on References, Select Manage Nuget Packages. Type Microsoft.AspNet.Web.Optimization in search box and press enter you will get the package. Click on install. Create and configure …

HTTP Error 405.0 – Method Not Allowed error while trying to make a DELETE request to a .ashx

Here’s the final web.config section. The thing I needed to add I was missing was changing the staticFileHandler from using “all verbs” to all of them spelled out. <?xml version=”1.0″ encoding=”utf-8″?> <configuration> <appSettings> <add key=”StorageRoot” value=”C:\temp\”/> </appSettings> <system.web> <compilation debug=”true” targetFramework=”4.0″ /> <httpRuntime maxRequestLength=”2147480000″ executionTimeout=”3600″/> <pages controlRenderingCompatibilityVersion=”3.5″ clientIDMode=”AutoID”/> </system.web> <system.webServer> <modules> <remove name=”WebDAVModule” /> </modules> …

jQuery/Javascript to detect OS without a plugin?

<!DOCTYPE html> <html xmlns=”http://www.w3.org/1999/xhtml”> <head runat=”server”> <title></title> <script src=”Scripts/jquery-1.7.1.min.js”></script> <script type=”text/javascript”> var os = navigator.platform; for (var i in navigator) { document.write(i + “=” + navigator[i] + ‘<br>’); } var OSName = “Unknown OS”; if (navigator.appVersion.indexOf(“Win”) != -1) OSName = “Windows”; if (navigator.appVersion.indexOf(“Mac”) != -1) OSName = “MacOS”; if (navigator.appVersion.indexOf(“X11”) != -1) OSName = “UNIX”; …

Setup Project in Visual Studio

Create a new project Right click on Soultion Explorer of a Project. Select New Project. Select Project Type ‘Setup and Deployment’ under ‘Other Project Types’. Enter project name in text box in front of Name: Press OK How do I change the Product Name, Author, Manufaturer, etc? Select created a project from the Solution Explorer …