Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

complete complete
  • Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?

    nugget ran and said everything is up-to-date, but I still have this issue.  Please advise.

  • Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?

    What exactly is EF?

    What exactly is NuGet?

    Oh, JohnAskew just gave a link.  I will give it a go.

  • Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?

    Let's try this again...

    Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?

    I am using code written under Visual Studio 2010 as an example for a project I am writing for with Visual Studio 2012. I am having some difficulty using the DBContext class to instantiate a class. The code seems to required using the namespace System.Data.Entity.Infrastructure; and that does not seem to be defined in the newer System.Data.Entity reference.

    To show you what I mean in coding terms, this is the line of code that does not compile:

        using System.Data.Entity.Infrastructure;

    This is the code snap shot in the Visual Studio 2012 that does not compile:

    It seems that "Infrastructure" is a component of "systems.data.entry.dll" that I have set as a reference:

    But wait, there is more.  The code, as it exists in the visual studio 2012, is copied from code from a project that does, in fact, compile in visual studio 2010.

    Notice, that there is no little red curly line under Infrastructure when I declare that I am using the namespace System.Data.Entity.Infrastructure in Visual Studio 2010:

     

    The research I have done on this issue has lead to a dead-end.  This seems to be some sort of required add-in according to this web page::

    You see, the problem seems to be centered around declaring and using the DbContext class.  But when I tried running this program from Microsoft after I downloaded it, it showed me that it was not for Visual Studio 2012.

     

  • Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?

    Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?

    I am using code written under Visual Studio 2010 as an example for a project I am writing for with Visual Studio 2012. I am having some difficulty using the DBContext class to instantiate a class. The code seems to required using the namespace System.Data.Entity.Infrastructure; and that does not seem to be defined in the newer System.Data.Entity reference.

     

  • Looking for cool ​example/sam​ple code for Azure

    I am looking for some C# code that demonstrates how to upload a file onto the cloud.  Of course, I have an account, and of course I expect it to only work, I guess, when I am logged in.  But I want an example of how I can programmatically perform an uploading of a file to the cloud.  I guess this will require a client and server project.  I guess the client would be Silverlight or WPF and the client would be one project in the solution group.  And there would be another project that is the back end server code that would required to be put on the cloud.

  • Is LightSwitch Useless?

    Is LightSwitch Useless?

    I have used it to create a GUI to my SQL AZURE database, but there is no generated C# code go look at.  Without this, I cannot easily customize what I want to do.

    If you look at the Solution Explorer, you will not find any code to step into.  So I do not know how customization can work.

    [IMG][/IMG]

  • How do I navigate from the Old Azure Dashboard to the New Azure Dashboard?

    How do I navigate from the Old Azure Dashboard to the New Azure Dashboard?

    SQL Azure has a new, default front-end user interface and an older version.  I have been able to navigate to the older version UI but now I do not know how to get back to the newer version so that I can add some t-sql commands on my database.

    This is how the older UI (the one I am stuck on) looks:

  • How do I set up ACS in SQL Azure?

    This leads me now to a different question which I will post as a separate thread.  Basically, "how do I get back?" is my next question.

  • How do I set up ACS in SQL Azure?

    How do I set up ACS in SQL Azure?

    I am trying  a code sample from Azure that is to create a custom Login Page in ASP.NET and MVC 3.

    It claims to use the ACS Management Portal. It instructs to log on to the my Azure homepage and "navigate to the Service Bus, Access Control and Cashing section."  Where is that?  I do not see this on my Azure homepage.

    The example is listed here:

    http://msdn.microsoft.com/en-us/library/windowsazure/hh127794.aspx

    The step says:

    To configure the sample via the ACS Management Portal

    1. Open a browser, navigate to the Windows Azure homepage (http://go.microsoft.com/fwlink/?LinkId=130560), and sign in. Navigate to the Service Bus, Access Control, and Caching section to configure your ACS service namespace. Once you have created a namespace, select it and click Manage > Access Control Service, located at the top of the page. This will launch the page in a new window.

       

       

     Where is that?  I do not see this on my Azure homepage that I am instructed to navigate to.

  • How do you set up a foreign key in SQL Azure?

    is that done on T-SQL?  I think it has to be done with the Management Studio.

    http://www.youtube.com/watch?v=QDIHfE5utkk

    The youtube video instructs to use this syntax.  But what is the constraint?  Which table should be altered -- the main one or the index table?

    This instructional video does not explain how it is to be done.  It shows how to create the required three constraints but nothing beyond that.  So, what else do I do?