While updating an ASP.NET MVC website running Angular I ran across a $Modal issue and the error was Unknown provider: $modalProvider <- $modal. In order to fix this issues I had to change the $Modal inject to $uiModal, which was due to a naming change in the angular-ui-bootstrap framework.
The framework is located at: https://angular-ui.github.io/bootstrap/.
I had to make some updates in one of to a clients Azure SQL databases, that required me to drop and recreate a table that had a foreign key relationship. To do this I needed to drop and recreate the FK relationship on a table and I used this script to find all constraints in the the database.
FK_Table = FK.TABLE_NAME,
FK_Column = CU.COLUMN_NAME,
PK_Table = PK.TABLE_NAME,
PK_Column = PT.COLUMN_NAME,
Constraint_Name = C.CONSTRAINT_NAME
INNER JOIN INFORMATION_SCHEMA.TABLE_CONSTRAINTS FK
ON C.CONSTRAINT_NAME = FK.CONSTRAINT_NAME
INNER JOIN INFORMATION_SCHEMA.TABLE_CONSTRAINTS PK
ON C.UNIQUE_CONSTRAINT_NAME = PK.CONSTRAINT_NAME
INNER JOIN INFORMATION_SCHEMA.KEY_COLUMN_USAGE CU
ON C.CONSTRAINT_NAME = CU.CONSTRAINT_NAME
INNER JOIN (
INNER JOIN INFORMATION_SCHEMA.KEY_COLUMN_USAGE i2
ON i1.CONSTRAINT_NAME = i2.CONSTRAINT_NAME
i1.CONSTRAINT_TYPE = 'PRIMARY KEY'
ON PT.TABLE_NAME = PK.TABLE_NAME
Tampa Code Camp made it to Fox News on the “What’s Right With Tampa Bay” segment. What good to get IDSTC and KForce our big sponsors some notice for supporting the event. You can see the segment here. You can register for the event here.
Code Camps are a free, one day learning event for programming professionals and students with a focus on Microsoft Development Technologies. Code Camps are “grass roots” mini application platform developer conferences, free of charge to attendees and open to presenters of all stripes and experience. WinDevCamp follows our simple motto “give a man a fish feed him for a day, teach him to fish feed him for a lifetime”.
Code Camps are
- By developers for developers
- Community developed material
- Teach by coding examples
- Never occur during working hours
The Tampa Code Camp, a Tampabay based event, is organized by the TampaDev group, www.meetup.com/tampadev. Details of the event can be found at www.TampaCodeCamp.net. Below outlines some of the highlights with regard to contributors.
We have four goals for this event:
- Provide a first class training experience for our attendees. Even though it will be free, we plan to make it as good as or better than a similar paid event.
- Provide a great networking experience for Microsoft Development Technology professionals, vendors and employers.
- Build our speaker pool. We’ve worked hard to get local speakers for the event. Mentorship is being offered for new speakers with assistance to prepare for the event.
- Build relationships with sponsors. The local user groups are funded entirely by donations and we hope that you will them as a good venue for highlighting your products, services or just as a good place to look for Microsoft Development Technology talent.
To register for the event you can RSVP here.
Randy Patterson and I were discussing battery usage on the Windows Phone 8 (he has an HTC 8X and I have a Nokia 822), and he was struggling with poor battery usage. I asked if he had taken the time to manage his application background tasks, to which he stated “What do you mean?”. I took a few minutes to show him how to do it and he comment was “you should blog about this, I had no clue you could do this”. So, here we are and I would like to thank Randy for the blog idea.
To get started go into your “Settings” on your Windows Phone 8, once there swipe from right to left to get to the “applications” screen, then tap background tasks. You will see a list of applications the have a background task, and my rule of thumb is, if it does not have regular or wide tile on my start screen or the live tile data I don’t really care about then I block it to save battery time. Now you may ask “how do I block an application?”, as you can see below it is fairly painless to do – one in background task simply tap the app then tap block.
Let’s take a quick look at my battery usage to see how I have things performing. As you can see below I have almost 3 days of usage from a single charge.
Now as a side note, if your mail supports push technologies like Office 365 or Outlook you don’t need to worry about the next comment. if you use pop, you should set your POP email to check every 30 minutes to an hour, this will help increase your battery time as well.
Well I hope these suggestions help you, if you would like to know more please let me know.
For the second time this year I have the great opportunity to be one of the judges for the INETA Component Code Challenge. Here are the details:
Have you ever thought “I have a good idea for an application, however what can I get for it?” and/or “I would love to go to DevConnections, but I am not sure how to pay for it?”. Well, you are in luck. With the INETA Component Code Challenge for 2012, all you need to do is create an application using 2 approved controls from 2 approved vendors, create a video talking about your application, and submit it to our judging panel. Our judging panel, consisting of Bill Reiss, Nikita Polyakov, Matt Hidinger, and Greg Leonardo, will be looking for innovation and creativity in the use of approved controls. To read official rules click here.
So grab your computer and Visual Studio and GET YOUR CODE ON!
Disclaimer: INETA covers one conference ticket, hotel, and travel to the conference as is outlined in INETA’s travel policy. Please visit the site for additional rules.
The ASP.NET Universal Provide cover Membership, Roles, Profile, and Session solutions in MVC4 which can leverage SQL Compact, SQL Express, SQL Azure, and SQL Server. The biggest deviation from old ASP.NET 2.0 Membership is the need to run aspnet_regsql.exe to install the database side before you are able to use them. ASP.NET Universal Providers now provide the magic to setup the persistence store with simply providing the database connection string.
If you would like to install the Universal Providers, because you did not select Internet based project in the MVC4 project selection screen. You can run the Package Manager to install but doing the following:
And entering “Install-Package System.Web.Providers” at the PM> prompt.
INETA has launched their second round of the CCC, if you would like more information head over to the official contest page.
MVC4 Beta is out and it works side by side with MVC3, I will be posting more around with new mobile focus.
Learn more here.