MVC 4 website with .NET 4.5 on IIS 8 in Windows 8 gives 403.14 forbidden error [closed]

In “Turn Windows Features on or off”, under Internet Information Services -> World Wide Web Services -> Application Development Features, make sure that .NET Extensibility 3.5, .NET Extesibility 4.5, ASP.NET 3.5, ASP.NET 4.5, ISAPI Extensions, and ISAPI Filters are SELECTED. This was outlined here: http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45#TOC301258515 but since that refered to server 2012 instead of windows … Read more

How to pass values (parameters) between XAML pages?

Methods to pass parameters 1. Using the query string You can pass parameters through the query string, using this method means have to convert your data to strings and url encode them. You should only use this to pass simple data. Navigating page: page.NavigationService.Navigate(new Uri(“/Views/Page.xaml?parameter=test”, UriKind.Relative)); Destination page: string parameter = string.Empty; if (NavigationContext.QueryString.TryGetValue(“parameter”, out … Read more

Is it possible to call an awaitable method in a non async method? [duplicate]

In non-async method you can either start the Task asynchronously and not wait for the result: public void MyCallingMethod() { Task t = myMethodAsync(); } or you can attach ContinueWith event handler, which is called after finishing the Task, public void MyCallingMethod() { myMethodAsync().ContinueWith( result => { // do stuff with the result }); } … Read more

How can I make SmartScreen Filter trust a self-signed certificate

To quote from MSDN’s website: Detractors may claim that SmartScreen is “forcing” developers to spend money on certificates. It should be stressed that EV code signing certificates are not required to build or maintain reputation with SmartScreen. Files signed with standard code signing certificates and even unsigned files continue to build reputation as they have … Read more

Windows Phone 8 emulator can’t connect to the internet

I think I’ve finally found the answer, but you’re probably not going to like it. It would appear that the phone emulator requires you to have a second network adapter to dedicate to this purpose. Personally, I run Windows 8 in VMWare, and so a second network adapter is free for me. Anyway, after you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)