Re: Using async/await without .NET Framework 4.5
*Fist pump* I'd been hanging out for this one for ages. Glad it was finally released. On 24 October 2012 18:06, Preet Sangha wrote: > David, > > This is good news. The idea that good ideas can/have to be implemented in > the BCL and not just the language is great for those of us who are > abstraction wonks. > > Thanks. > > >> On Wed, Oct 24, 2012 at 12:25 PM, David Kean wrote: >> >>> We just released an updated async package that enables async/await on >>> .NET Framework 4, Silverlight 4 & 5, Phone 7.5 and portable library >>> combinations: >>> http://blogs.msdn.com/b/bclteam/archive/2012/10/22/using-async-await-without-net-framework-4-5.aspx >>> >>> >>> ** ** >>> >>> Tell me what you think. >>> >> >> > > > -- > regards, > Preet, Overlooking the Ocean, Auckland >
Re: Add Roles
Thanks will have a look at that. On Fri, Nov 16, 2012 at 6:08 PM, Arjang Assadi wrote: > IIRC > > (If you have Sql Express installed on your dev machine) > > in The vs menue goto > Project -> ASsp.net settings -> Security -> Enable Role Manager > > Ref: > http://msdn.microsoft.com/en-us/library/ms228053.aspx > > http://www.asp.net/web-forms/tutorials/security/roles/creating-and-managing-roles-vb > > > > > > On 16 November 2012 18:45, Stephen Price wrote: > >> Hey all, >> >> I'm asking this here so that I will find the answer in about five minutes >> after asking. :) >> >> I've been following a Pluralsight tutorial on MVC4 and when I add the >> following to my Seed method (for updating the database via >> migration/package manager) I get an error. >> >> if (!Roles.RoleExists("Admin")) >> { >> Roles.CreateRole("Admin"); >> } >> >> The Role Manager feature has not been enabled. >> >> I tried it in my converted MVC4 (.Net 4.0 converted to .Net 4.5) solution >> as well as a brand new blank MVC4 .Net 4.5 solution with same result. >> >> I imagine I have to turn something on somewhere but the course doesn't >> mention it. >> >> anyone hit that before? >> cheers, >> Stephen >> > >
Windows 8 - Windows Defender API to scan files
Let's assume I wanted to write a program that would scan files using Windows Defender. I know I can use System.Process to the command line, but I was wondering if there is an API that I could connect to and issue commands. It's just a pet project to and nothing too serious, but my google fu is failing me. -- regards, Preet, Overlooking the Ocean, Auckland