Tag Archive for: Visual Studio 2012

TechEd 2012 (#TEE12), Amsterdam — Day 4

29 Jun 2012
June 29, 2012

Last day at TechEd – today it will be an asp.net-ish day!

First Session: Microsoft ASP.NET and the Realtime Web (Brady Gaster)

This gotta be SignalR – hopefully with cool demos. Actually they forgot the SignalR part in the title, the whole thing is about it.

Okay, first demo is SignalR with Kinect. Kinect detects a person, takes a picture, the picture is uploaded to azure and the link to the picture is pushed to “subscribed”, open browser.

9 demos.

Supported clients: JQuery, Native .NET, WP7, iOS, Silverlight, WinRT, Android.

Supported hosts: ASP.NET, OWIN, Self-hosted

Supported backplanes: SQL, Redis, Service Bus

Benchmarks: 40.000 persistent connections (40% CPU utilization) – goal for version 1.0 is 100.000 concurrent open connections.

The demos showed how to build basic applications (totally easy), use diffrent hosts and scale it on Azure.

Brady rocked the stage, really like his style – infotainment on a very high level!

Second Session: Identify & Fix Performance Problems with Visual Studio 2012 Ultimate (Benjamin Day)

Session about the different methods to stress test a Web Application.

Web Performance Test => record actions and play them back

Load Test => mix of Web Performance Tests and Unit Tests (important: The Browser Mix just changes the User Agent, they are not using a real browser)

Limits if you run it from Visual Studio: 250 simultanious user, limited to 1 CPU. If you need more get Test Controller and Test Agents.

I used the Load/Performance Tests in VS2010 and I couldn’t identify a lot of new stuff.

Last Session:  ASP.NET Roadmap: One ASP.NET – Web Forms, MVC, Web API and more (Brady Gaster)

MVC, Web Forms and Web Pages will have the same featureset. There will be a new Visual Studio Web Project template where you can choose what you want and after that nuget will pull the current version and create your project.

Async everwhere => Threads will be released and IIS can serve more requests.

Validation: UnobstrusiveValidationMode property of a page can enable html5 validation

Optimization: CSS / JS  Bundle & Minification: just set debug=false in the web.config and things are compressed, bundled. Supports Coffeescript and LESS.

Model-Binding: ASP.NET controls get a property ItemType to bind strongly typed entities. No more EVAL, good.

DynamicControl => bind it against a string property and it creates a label, an input field and validation. If you bind it against a DateTime prop, guess what its an DateTimeControl then  – slick.

Final notes – TechEd 2012 is over!

TechEd was awesome as expected. Saw a lot of new technologies, new products – that will help me a lot in the future. The location and everything around was decent – very good speakers & sessions, too!

Next TechEd will be booked – thats for sure!

TechEd 2012 (#TEE12), Amsterdam —- Day 2

27 Jun 2012
June 27, 2012

Second day at Teched.

Keynote: Windows 8

Lots of different features of the new Windows 8 are shown. Windows 2 GO demo was cool – you can boot an entire Windows from usb 3.0 stick. If you unplug the stick you have 60 seconds to replug it and everything continues to work.

First Session: Introducing the New Visual Studio 2012 Unit Testing Experience (Peter Provost)

Peter showed some new features of the new Visual Studio – looks great. Hoping that new SharePoint has proper support of the new Fakes/Shim test stuff. Would bring SharePoint development to a new level – higher quality for many of us. Many of this you could have used with some effort, it seems like things are getting much easier and faster.

As I am live writting – at the end Peter told the audience that there will be a Test Emulation Library for SharePoint Unit Testing – this is good news!!!

Second Session: From Development To Production: Optimizing For Continuous Delivery (Chris Patterson)

Developer talk focused on Azure and TFS 2012 (Preview).

Key messages:

  1. Use the framework you want to use
    1. MSTEST, Nunit, xUnit and Others
  2. Unit tests drive quality
  3. Use Isolation Framework (“Fakes” is deeply integrated into VS2012)
  4. Iterate everything (Plan, Develop, Test)

Take aways: Lots of new features for Devs – all will profit from that.

Lunch session: Integrating SharePoint and Project Server 2010 – Deployment Approaches, Integration Options and making the most of the SharePoint Enterprise Features.

Lunch was short for this session but I wanted to see what you can do with that powerful combo. At Alegri we are using Project 2010 and SharePoint together but I have the feeling we are only using 20% – it seems like we are.

Key take aways: Change the master page and loose support! Workarround is to use the delegate control in the page head to add css/jquery to style stuff. Lots of additional work.

Fifth session: Advanced SharePoint 2010 Upgrade Troubleshooting (Todd Klindt)

One of the most anticipated sessions for me.

Different upgrade scenarios, db attached upgrade deliveres good results. Start with SP2007 SP2 – for SP2010 most recent is CU Feb 2012 (start slipstreamed, except language packs!). Important if you attach UserProfile start with RTM (rumors ("smart people told me") are there are problems with it if you go post SP1).

Always run preupgradecheck – large list issues (workflow history could be very large and prevents workflows to start in SP2010).

Orphans: Delete them on SP2007 (several times with stsadm) then test-spcontentdatabase

Use MSDN ULSViewer to analyze problems – time for a logging feature at www.sharepointtoolbox.de
Use powershell for everything – Todd loves powershell and he is not a Dev!

If you see ID 75802 its Fab40 – check if you can delete it on the SP2007 side. DONT move them to SP2010 – huge side-effects if you do so.

Upgrade performance is limited by IO – fast disks => fast upgrade.

Get rid of unused document versions.

Themes: Install themes in SP2007 before mounting content database, otherwise you cant change your MasterPage in SP2010.

Memo to myself: Listen to Todds podcast frequently – that was the best session so far at TechEd 2012.

Sixth session: Exploring the Power of Page Layouts in SharePoint 2010 WCM Sites (John Ross, Randy Drisgill)

Page layouts are a powerful concept for SharePoint.

Pros: Encapsuling data based on a contenttype, inheritance if you want it, deployable, searchable.

Cons: No versioning

If you crate it with SharePoint Designer, things tend to be created in the content database and you pay a performance price for that.

If you create it with Visual Studio take care that the contenttype id is correct (wow, very long),  copy it from the url in the content type gallery or with CKSDEV in Visual Studio.

Next session: Microsoft delegate party.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.