Tagged: microsoft RSS

  • Steve Lydford 12:42 am on March 19, 2011 Permalink | Reply
    Tags: microsoft,   

    First look at Microsoft Visual Studio LightSwitch 

    Illuminate Me

    (See what I did there?)

    Visual Studio LightSwitch is a new platform designed to make it simpler to create line-of-business applications for the desktop and the cloud.

    It is currently in Beta 2 and can be downloaded from the Microsoft site free of charge.

    LightSwitch contains pre-configured screen templates and other re-usable components to handle many routine business application tasks. You can write code in C# or VB.NET and deploy it to the desktop, web or Windows Azure.

    So that’s enough of the marketing headlines, you can read plenty more of them on the official web site, let’s have a go at making something and see what it is really like….

     

    Getting Started

    Once you have downloaded and installed LightSwitch (you must have Visual Studio SP1 installed first), open Visual Studio and you will notice a new set of templates under LightSwitch.

     

    lsNewProject

     

    Choose your preferred language, give your app a name and click ‘OK’. This will take you to the LightSwitch Home Page (View > Home Page).

    From the Home Page you can choose to connect to an existing external datasource, such as MS SQL Server (no support for Stored Procedures at present), SharePoint or a WCF RIA Service, or create a new table in an internal SQL Express database.

     

    Defining the Data

    Choose the ‘Create new table’ option and add the following fields:

    Name Type Required
    Surname String Y
    Forenames String Y
    Phone Phone Number Y
    Email Email Address Y

    Click the title of the table in the Data Designer or Properties Window and change it to “Contacts” and save the table.

     

    lsDesignerToolbar 
    Next, click the ‘New Table’ button in the Application Designer toolbar and create the following table and name it ‘Companies’:

    Name Type Required
    Name String Y
    Address String Y
    Town String Y
    County String Y
    Postcode String Y
    RenewalDate Date Y

     

    Finally, click the ‘Relationship…’ button in the Designer toolbar and configure the relationship as follows:

     

    lsRelationships

     

    Adding a Screen

    When you click the ‘Screen…’ button in the Designer toolbar, you will be shown this dialog:

    lsAddScreen

     

    Choose a ‘List and Details Screen’ and set the Screen Data to ‘Companies Set’. Ensure that the check boxes to include both sets of additional data are checked and click ‘OK’ to add the screen to the application. This will take you to the Screen Designer, which displays a representation of the layout and commands for the screen:

     

    lsScreenDesigner

    But don’t worry about the Screen Designer right now – we can have a look at all that another day. For now let’s just run the application…

     

    The Result

    The application created for us by LightSwitch allows us to view our company contact data in a master-detail format and has a lot of functionality for very little effort:

     

     lsAppHome

     

    We can add, edit and delete companies and contacts, as well as performing various other tasks such as searching and exporting:

     

    lsAddCompany

     

    And the user interface contains some basic validation, based on the data we defined:

     

    lsValidation 

    Conclusion

    There has been a mixed reception to LightSwitch from the developer community, with many perhaps justifiably worried that it may lead to a new plaque of ‘Office Expert’ Access Forms-style mini-applications of the type that many organisations have tried so hard to eradicate. However, there is no doubting that this is a very impressive piece of technology that allow you to build a functional application very quickly.

    As I mentioned at the beginning of the post, LightSwitch apps run in C# or VB.NET and can use a variety of datasources, so perhaps the instructions to the ‘Office Experts’ should be as Dave Mendlen, Microsoft Senior Director of Developer Tools and Platform Marketing suggests: “if you are going to go rogue, use LightSwitch”. That way at least it can be handed over to a more experienced .NET developer if necessary.

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
  • Steve Lydford 12:00 pm on September 28, 2010 Permalink | Reply
    Tags: , microsoft   

    IMPORTANT: ASP.NET Security Update 

    Microsoft are releasing a patch today for ASP.Net to fix the security vulnerability disclosed last week, which has the potential to allow users to request and download files in the ASP.Net Application (such as Web.Config) and decrypt data sent securely to the client (such as ViewState).

    Obviously, this vulnerability is of huge concern and could have massive implications for the security of your site and the data used within it, so I would urge you to download and apply this patch at the earliest opportunity.

    A webcast will be hosted today, September 28, 2010, at 1:00 PM Pacific Time (US & Canada) to answer customer questions. Click here to register for the webcast. The security update is fully tested, and is scheduled for release at approximately 10:00 AM PDT.

    If you are unable to patch your server immediately a workaround is available, as described on this blog post by ScottGu.

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
  • Steve Lydford 11:59 am on September 15, 2010 Permalink | Reply
    Tags: , microsoft   

    Internet Explorer 9 Preview 

    IE9 Beta became available on the Microsoft website, here:

    http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3273f215-a733-4f64-b614-560abfed490c

    Full of HTML5 and CSS3 goodness, this may be Microsoft’s last chance to claw back some of the market share it has lost in the last 2 or 3 years to Firefox, Chrome et al.

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
  • Steve Lydford 11:48 am on September 15, 2010 Permalink | Reply
    Tags: microsoft   

    MSDN UK got a facelift 

    This is the first of two very quick posts to share some stuff I stumbled across today on the web.

    I just happened to browse to the UK MSDN homepage and noticed that they have had a major redesign. First impressions are good, I like it. I just hope I can still find everything….

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
  • Steve Lydford 2:41 pm on August 26, 2010 Permalink | Reply
    Tags: , microsoft   

    ASP.Net Sprite and Image Optimization Framework 

    Check this out…

    http://aspnet.codeplex.com/releases/view/50869

    This is an awesome release, giving developers the ability to use sprites in web pages, without all the hassle which (let’s be honest) puts most people off at the moment.

    For those who are unaware of sprites, they are a technique which became popular in the games programming arena in the 80′s where you combine all (or some of) your images into a single file and display just a portion of it at a time, usually using a top-left coordinate starting point, combined with a width and height to specify the part to be displayed. In games programming in the early days this was used extensively (and still is in a vast percentage of 2D games) as multiple cells of an animation could be combined in one sprite and loaded into memory once. This gave much smoother animation as you were simply displaying a different portion of the same image for each cell in an animation, rather that loading a new image in for each frame.

    Why is this good for web developers? Well, each image you load into a web browser requires a separate HTTP request. By combining all the images into a single (or couple of) HTTP requests you can significantly reduce page load times. Plus, remember the reason that sprites were invented in the first place…. Just think of all the cool and crazy things you could do with a sprite and a bit of jQuery to make rollovers, animations, etc.

    This framework enables the .Net developer to use sprites in a very straightforward way. It literally creates a combined image from the all images in a folder and allows you to use them as sprite images in the page, doing all the combining and css chopping up automatically for you. Plus you can seperate things out into subfolders and set maximum file sizes etc. You get all the benefit with virtually no cost in time or effort.

    This video by Scott Hanselman on Channel 9 and this one on Craig Shoemaker’s blog explain more.


    Get Microsoft Silverlight

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
    • Windows Hosting Guy 2:00 am on July 14, 2011 Permalink

      Will try this. Thanks for the article.

      I have been using Spriteme, which is very good, but you still have to make changes manually to your css.
      If this works, that would be great help.

      Thanks

  • Steve Lydford 10:37 am on August 10, 2010 Permalink | Reply
    Tags: , microsoft,   

    ASP.Net MVC 3 Preview 1 

    Wow, these guys move fast!

    ASP.NET MVC 3 Preview 1 has been released on CodePlex. This release includes global Action filters, support for the new .Net 4 Data Annotation and Validation attributes and the Razor View Engine which everyone has been blogging about in the last few weeks.

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
  • Steve Lydford 1:48 pm on July 19, 2010 Permalink | Reply
    Tags: IIS, microsoft, SEO   

    IIS SEO Toolkit 

    Okay, so your site looks great, you have loads of useful content and your User Interface is life-changing, so why is no-one visiting it? Well, the chances are that your site doesn’t look so great to search engines. This is where Search Engine Optimisation (SEO) comes into effect.

    There are many, many companies out there offering to increase your search engine rankings for (sometimes a considerable amount of) money. There are also a plethora of sites offering advice and several tools available which will analyse your site for SEO. However, most of these tools either charge or offer only a small toolset for a free version and we all know that advice from the Internet can mean a lot of trawling for fact/fiction, currency and usefulness.

    So, in steps Microsoft with its free SEO Toolkit. The tool plugs straight in to IIS and can be used to crawl your site and give you really in-depth analysis of exactly what a visiting search engine spider sees when it visits your site.

    SEO Report

    Now I’ve tried a few existing pieces of SEO software in the past but none of them has given me the ability to access all this information and certainly not in the way that this toolkit does. The SEO Toolkit allows you to build queries on the data and produce totally custom reports on it, along with a bunch of other really great features.

    SEO Query

    Microsoft have been releasing some really great tools for web developers recently, at a seemingly relentless pace, and this one from the IIS Team is right up there with the best of them. This video by Scott Hanselman will show you what I mean…

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
  • Steve Lydford 11:25 pm on July 6, 2010 Permalink | Reply
    Tags: , microsoft,   

    I Blog, They Listen ;) 

    I only blogged about Small Basic a couple of days ago, then this video was posted on Channel 9 this morning.


    Get Microsoft Silverlight

    Obviously my blog is highly influential, Microsoft are taking a keen interest and acting as a result.

    Or, I suppose it could be a coincidence? Nah!

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
  • Steve Lydford 4:20 pm on July 2, 2010 Permalink | Reply
    Tags: , microsoft,   

    Small Basic – Programming for Kids (Bring out the Turtle!) 

    My eldest son has been asking me for ages to teach him some programming. I remember learning to program in BASIC on a Sinclair Spectrum and using LOGO on the BBC Micro’s in school and was looking for something as simple as that for him to start to learn with. I didn’t want to scare him off with a jump straight into some OOP language and the complexities of a modern IDE.

    I also considered showing him some HTML, but he really wanted to program and I didn’t want to confuse him straight away with differences between presentation and logic etc.

    Microsoft Small Basic

    After a surprisingly long search, at one point of which I had decided that I was going to write something myself, I found Small Basic from Microsoft. It looks like it is exactly what I wanted. It can be found in the Kid’s Corner section of the MSDN Beginner Developer Learning Center, which also has a lot of great articles, videos, learning programmes and links to other useful resources.

    Microsoft Small Basic

    Small Basic is currently in version 0.9, which probably explains why it has not got a massive presence web yet, and has support for BASIC and LOGO. Perfect!

    Microsoft have provided a blog and forums for support. The first post in the Small Basic blog explains some of the history of the project and shows that I was not the only one struggling to find a good way to teach my kids to program.

    We are going to start this weekend, I’ll blog about our experiences and progress. I can’t wait! Wish us luck!

    BRING OUT THE TURTLE….

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
    • Yobe wa Kanyenda 7:31 am on January 12, 2011 Permalink

      Thanks for the insight. Just downloaded and installed Small Basic. Run the quick Turtle program – simply magnifique!

      Looking forward to reading about your experiences. I have been in a similar situation with my two daughters (12 and 10) who have been bugging me to teach them programming. I looked at Scratch and Alice, but I could not get round to dedicating time to getting accustomed to the products since I have been programming in Visual Basic 6 for about 8 years now (my whole programming career) – old habits die hard, I suppose. I have only moved to the .NET platform on C# some two and half years back and you can see my predicament

      The best of luck

  • Steve Lydford 3:22 pm on June 29, 2010 Permalink | Reply
    Tags: , microsoft   

    A Great Deal From Microsoft TechNet 

    TechNetFor those of you that haven’t heard about Microsoft TechNet, it is Microsoft’s service for IT Professionals.

    It gives you access to over 70 of their core products (sadly no development products) for only £134 ($199) for a years subscription.

    You are allowed 10 downloads of each application, but take Windows 7 for example – each Windows 7 licence key can be used 10 times, so that is 100 installs of each version of Windows 7 per year!

    The subscription is per user, so you can’t share product keys with others and some of the software is intended for “evaluation purposes only” by companies, but for private individuals using software at home, this doesn’t really apply.

    The list of downloadable software is vast and includes:

    • Biztalk Server
    • Commerce Server
    • Content Management Server
    • Dynamics
    • Exchange Server
    • Office
    • Outlook
    • Project
    • Publisher
    • SharePoint Server
    • SQL Server
    • Virtual Server
    • Visio
    • Windows 7
    • Windows Home Server
    • Windows Server
    • Windows Vista
    • Windows XP

    The annual subscription fee also gives you unlimited access to the Managed Support Forums, the TechNet Technical Library, some E-Learning Courses and other benefits.

    This is an outstanding deal, so if you are in the market for a new copy of Windows or Office, take a look at http://technet.microsoft.com/en-us/subscriptions/default.aspx and save yourself a shed load of your hard-earned cash. Amazon are selling a single-user licence of Office 2010 Professional alone for £351.41 and Windows 7 Ultimate will cost you another £168.03.

    Students should also check out Microsoft DreamSpark and Web Developers would do well to to take a look at the Microsoft WebsiteSpark program.

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)
     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel