Rendering problems with IE8

by Ken Tucker 24. March 2009 21:18

Microsoft released IE8 during Mix 2009.  Microsoft spent a lot of time making IE8 comply with the browser standards.  When you upgrade your browser to IE8 if you find the web site does not render right.  Do not worry there is a simple fix for this. 

 

There is a tag you can place in the Head section of your webpage which will force IE8 into IE7 compatibility mode.

 

<html>
<head>
  <!-- Mimic Internet Explorer 7 -->
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  <title>My Web Page</title>
</head>

 

 


For more info on IE8 compatibility read this article

http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx

 

Hope this helps

Scenario based usage of the new features in DotNetNuke 5.0

by Ken Tucker 25. February 2009 07:52

Next Orlando DNN User Group meeting

Speaker:  Chris Hammond
Topic:  Scenario based usage of the new features in DotNetNuke 5.0
When:  Thursday, March 5th @ 7:00-9:00 PM
Where:  ABC Fine Wine & Spirits, Inc. Corporate Office
Address:  8989 South Orange Ave., Orlando, FL 32824
Live Map: http://maps.live.com/default.aspx?v=2&FORM=LMLTCP&cp=28.437205~-81.366381&style=r&lvl=15&tilt=-90&dir=0&alt=-1000&phx=0&phy=0&phscl=1&where1=8989%20South%20orange%20avenue%2C%20orlando%2C%20florida&encType=1
Description:  There has been a lot of talk about new features and functionality in DotNetNuke 5.0, but it is not always easy to understand how these new features may apply to your website. This session will cover a wide variety of the new features, and how they apply directly to various scenarios for DNN based websites. See the new features as they were meant to be used.
About The Speaker: Chris Hammond (DotNetNuke Core Team Member), VP of Training Services at Engage Software in St. Louis, MO
Speaker Bio:  Chris Hammond is a Technical Evangelist with Engage Software (www.engagesoftware.com) in St. Louis, Missouri. Chris has worked with DotNetNuke (DNN) since its inception and been a DNN Core Team member for nearly five years. Solidifying his role within the DNN community as a leading expert and evangelist on the platform Chris has been a frequent presenter at conferences, user groups and companies around the world. Chris started the St. Louis DNN User Group (www.dnnug.com), and provides tips and tricks through his blogs at DotNetNuke.com and EngageSoftware.com. He is also an active DNN Community member, providing support in the DNN Forums. You can read more about Chris on his personal blog at www.chrishammond.com.

URL: http://orlando.dotnetnukeug.net/WhatsNew/Events/tabid/91/ctl/Details/Mid/428/ItemID/18/Default.aspx?selecteddate=3/5/2009

Scenario based usage of the new features in DotNetNuke 5.0

by Ken Tucker 25. February 2009 07:52

Next Orlando DNN User Group meeting

Speaker:  Chris Hammond
Topic:  Scenario based usage of the new features in DotNetNuke 5.0
When:  Thursday, March 5th @ 7:00-9:00 PM
Where:  ABC Fine Wine & Spirits, Inc. Corporate Office
Address:  8989 South Orange Ave., Orlando, FL 32824
Live Map: http://maps.live.com/default.aspx?v=2&FORM=LMLTCP&cp=28.437205~-81.366381&style=r&lvl=15&tilt=-90&dir=0&alt=-1000&phx=0&phy=0&phscl=1&where1=8989%20South%20orange%20avenue%2C%20orlando%2C%20florida&encType=1
Description:  There has been a lot of talk about new features and functionality in DotNetNuke 5.0, but it is not always easy to understand how these new features may apply to your website. This session will cover a wide variety of the new features, and how they apply directly to various scenarios for DNN based websites. See the new features as they were meant to be used.
About The Speaker: Chris Hammond (DotNetNuke Core Team Member), VP of Training Services at Engage Software in St. Louis, MO
Speaker Bio:  Chris Hammond is a Technical Evangelist with Engage Software (www.engagesoftware.com) in St. Louis, Missouri. Chris has worked with DotNetNuke (DNN) since its inception and been a DNN Core Team member for nearly five years. Solidifying his role within the DNN community as a leading expert and evangelist on the platform Chris has been a frequent presenter at conferences, user groups and companies around the world. Chris started the St. Louis DNN User Group (www.dnnug.com), and provides tips and tricks through his blogs at DotNetNuke.com and EngageSoftware.com. He is also an active DNN Community member, providing support in the DNN Forums. You can read more about Chris on his personal blog at www.chrishammond.com.

URL: http://orlando.dotnetnukeug.net/WhatsNew/Events/tabid/91/ctl/Details/Mid/428/ItemID/18/Default.aspx?selecteddate=3/5/2009

Silverlight 2 GDR Available

by Ken Tucker 21. February 2009 09:28

This week Microsoft Release an GDR to silverlight 2 which included some minor fixes.

 

Here is a list of the main changes in the GDR (build 2.0.40115.0):

  • Fixes problems that were caused by Silverlight and McAfee scanning tools interactions
  • UI automation stability fixes, including:
    • graceful failures when attempting to use features that require .NET Framework 3.0 or 3.5 on machines that do not have either framework installed
    • improved Tablet support
  • Fixes an issue that arises when Mac users customize their environment by removing Arial and Verdana fonts
  • Fixes a known issue with Isolated Storage IncreaseQuotaTo method (see this post for more information)


The one fix which bothered me a lot is the graceful failures when attempting to use features that require .Net framework 3.0 or 3.5 on machines that do that nave either framework installed. Silverlight 2 has its own version of the .net framework why should it use .net 3.0 or 3.5 and of course the .net framework is not available for the mac.  Well after looking around some I found this in the comments on Tim Sneath's Blog

  " apologies - we could probably be clearer here on what this means. Essentially, this was a bug that could be triggered in certain situations where you were using the accessibility tools (e.g. magnifier) on Silverlight content on a machine without .NET Framework installed. In short, the bug was an accidental dependency that has now been removed." - Tim Sneath

  http://blogs.msdn.com/tims/archive/2009/02/18/silverlight-2-gdr1-now-available.aspx

For More info on the Update please check out Tim Heuer's Blog entry

 http://timheuer.com/blog/archive/2009/02/19/silverlight-2-gets-minor-update-gdr1.aspx

 

 

Space Coast .Net Winter 09 Tiki Hut Tour

by Ken Tucker 25. January 2009 14:43

MSDN Tiki Hut Roadshow

Wednesday, February 18, 2009 6:30 PM - Wednesday, February 18, 2009 9:30 PM Eastern Time (US & Canada)
Welcome Time: 6:00 PM

Space Coast Credit Union Corporate Headquarters

8045 N. Wickham Road
Melbourne Florida 32940
United States

 

Session 1 – jQuery with ASP.NET - JQuery is an open source JavaScript library that has a passionate following among Ajax developers. Microsoft is integrating the open source JQuery library into both the ASP.NET Web Forms and ASP.NET MVC frameworks and providing full product support. Learn how you can take advantage of JQuery to build richly interactive client-side Ajax applications when developing either ASP.NET Web Forms or ASP.NET MVC applications. Also see how JQuery works in combination with ASP.NET AJAX to provide the best framework for building Ajax applications.

Session 2 – Data Services - OnPremise and Off - In the near future, applications will be developed using a combination of custom application code and online building block services, including data-centric services. In this session we discuss advancements in the Microsoft development platform and online service interfaces to enable seamless interaction with data services both on-premises (e.g., ADO.NET Data Services Framework over on-premises SQL Server) and in the cloud (e.g., SQL Server Data Services). Learn how you can leverage existing know-how related to LINQ (Language Integrated Query), data access APIs, data-binding, and more when building applications using online data.

Session 3 – Architecting for the Cloud using Windows Azure - This session provides a tour of the Windows Azure cloud computing platform, an overview of its various components, and explains how these fit together to provide best-of-cloud experiences. We will explore the architecture that links many of the Microsoft .NET services and lets ISVs and businesses deliver compelling solutions. Learn how to compose these services with SQL Data Services to create applications in the cloud and connect them with on-premise systems. We will also examine the next generation of messaging, data, access control, and directory services, and how they fit together to provide a seamless integration into the cloud.

Speaker’s Bios:
Joe Healy ( http://www.devfish.net ) is the Developer Evangelist for Microsoft Gulf States Accounts, based out of Tampa Florida. Joe’s geographical responsibility is to provide ‘developer care’ for the state of Florida. Joe serves a multitude of clients, from corporate accounts to broad reach events and User Groups. He lectures on various development and architectural topics focused around the .Net Frameworks, Visual Studio.NET, and associated servers. Joe has also served time with eAngler.com, Arthur Andersen, Cap Gemini, EDS, and IBM in various capacities.

Jeff Barnes (Architecture: The Harmony of Mathematical Precision; http://blogs.msdn.com/jbarnes ) is the Microsoft Architect Evangelist for the Gulf States District where he engages with the local Architect community to help solve tough business problems with leading-edge technology. Jeff has been with Microsoft for over 10 years and has spent over 7 of those years as an architect in the Microsoft Consulting Services organization working with large enterprise customers throughout North America. He especially enjoys the freedom and flexibility that .NET brings to the table in order solve the next generation of tough technical challenges.

 

Register if you plan to attend this event

 https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032400629&culture=en-US

Making a REST service with VB and WCF

by Ken Tucker 13. January 2009 03:28

REST which stands for Representational State Transfer is a way of sending data over the Internet without an additional message layer.  Standard web services use soap for there message header.  In this example we will create a service that uses the northwind database to send a  list of the products for a category.

 

Lets start by create a new VB web application. In that web application add a Ado.Net Entities data model.  In that class add the northwind database's product class.

 

image

 

Now add a service named Service1 to the web application.  Lets start by modify the web.config for the service to support rest.  First remove the ServiceBehavior section and add a endpointBehaviors section for webHttp.  In the endpoint we have to change the binding to webHttpBinding and the behaviorConfiguration to the webBehavior we created.

 

    <system.serviceModel>
        <behaviors>
      <endpointBehaviors>
        <behavior name="webBehavior">
          <webHttp/>
        </behavior>
      </endpointBehaviors>
        </behaviors>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="True"></serviceHostingEnvironment>
        <services>
            <service name="RestTest.Service1">
                <endpoint address="" behaviorConfiguration="webBehavior" binding="webHttpBinding" bindingConfiguration="" contract="RestTest.IService1">
                </endpoint>
            </service>
        </services>
    </system.serviceModel>

 

When we added the service we got 2 items the wcf service and an interface for the service.  Before we go any further we need to add a reference to system.servicebehavior.web  

 

In the Interface we need to define the how the categoryId is passed to the service.  In this example it expects product/categoryID in the url for the service

 

Imports System.ServiceModel
Imports System.ServiceModel.Web 

<ServiceContract()> _
Public Interface IService1 

    <OperationContract()> _
    <WebGet(UriTemplate:="Product/{categoryID}", ResponseFormat:=WebMessageFormat.Xml, BodyStyle:=WebMessageBodyStyle.Bare)> _
    Function GetProducts(ByVal categoryId As String) As List(Of Products) 

End Interface 

 

In the service we need to set the AspNetCompatibilityMode and write some code to return the products

 

Imports System.ServiceModel.Activation 

<AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)> _
Public Class Service1
    Implements IService1 

    Public Function GetProducts(ByVal categoryId As String) As System.Collections.Generic.List(Of Products) Implements IService1.GetProducts
        Dim dc As New NorthwindEntities
        Dim q = From p In dc.Products Select p Where p.CategoryID = CInt(categoryId)
        Return q.ToList
    End Function
End Class 

 

To call the service you would use a url like http://localhost:2050/Service1.svc/Product/7

 

you will get an xml file like this returned

 

 

image

DotNetNuke 5 Module Development

by Ken Tucker 3. January 2009 12:36


Speaker:  Stan Schultes http://www.vbnetexpert.com/

Topic:  DotNetNuke 5 Module Development

When:  Tuesday, January 6th @ 7:00-9:00 PM

Where:  ABC Fine Wine & Spirits, Inc. Corporate Office

Address:  8989 South Orange Ave., Orlando, FL 32822


Description:  Stan Schultes will begin with a quick technical overview of DotNetNuke, and a discussion of why you might build a custom DNN module. Demos will include how to install the DNN portal on a development machine, and how to install a custom module into the portal. Then we'll dive into setting up Visual Studio 2008 for module development and demonstrate how to install a module source package and run it in design mode. Finally, we'll walk through the process of developing a custom module using the sample module to provide details, and we'll see some development tips & tricks along the way. This is a 300-level session - some experience with DotNetNuke will be assumed.

 

URL:  http://orlando.dotnetnukeug.net/WhatsNew/Events/tabid/91/ctl/Details/Mid/428/ItemID/16/Default.aspx?selecteddate=1/6/2009

Snippet Editor

by Ken Tucker 31. December 2008 07:11

Bill McCarthy has moved the Snippet Editor project to Code Plex and added some nice new features


Features include:

  • Complete snippet file management
  • basic syntax coloring
  • replacement highlighting
  • drag and drop file organisation


The Snippet Editor is a stand-alone exe suitable for all versions
of Visual Studio 2005 and 2008 including the Express editions:


snippet_editor.png



The left hand pane provides for snippet collection management.
You can select which of your product collection to edit, filter the
collection based on a search phrase, add and remove snippets,
add existing folders, remove folders from the collection and
move snippets around by simple drag and drop.


snippet_navigation.png



The code editor provide basic syntax highlighting, and snippet
replacement highlighting, navigation, editing, adding and deleting.
Resize the code editor pane, collapse or expand the Properties,
Imports or References panes, and your layout is remembered for
next time you use the editor.



snippet_code.png

 

Download a copy today

http://www.codeplex.com/SnippetEditor


kick it on DotNetKicks.com

Silverlight Toolkit and VB

by Ken Tucker 29. December 2008 07:51

The silverlight toolkit has some great controls.  Wouldn't it be if the Silverlight Toolkit included Visual Basic Samples?

 

If you think so please vote for this work item

http://www.codeplex.com/Silverlight/WorkItem/View.aspx?WorkItemId=1222

kick it on DotNetKicks.com

Orlando DotNetNuke User Group presents Malware and how it affects you and your customers

by Ken Tucker 5. December 2008 11:57
Topic: Malware and how it affects you and your customers
Date: 12/09/2008
Time: 7:00 PM - 9:00 PM
Location: ABC Fine Wine & Spirits, Inc. Corporate Office
Address: 8989 South Orange Avenue, Orlando, FL 32822 (2 blocks south of Sand Lake Road)
Map Link:  http://maps.live.com/default.aspx?v=2&FORM=LMLTCP&cp=28.437205~-81.366381&style=r&lvl=14&tilt=-90&dir=0&alt=-1000&phx=0&phy=0&phscl=1&where1=8989%20S%20Orange%20Ave%2C%20Orlando%2C%20FL%2032824&encType=1
Speaker: Janie "Calamity Jane" Whitty (Microsoft MVP Consumer Security)
Description:
Microsoft MVP, Janie Whitty, aka Calamity Jane, will be speaking about Malware and how it affects you and your customers. Janie is best known by her username Calamity Jane in PC Security circles. She specializes in HijackThis logs analysis and malware removal/prevention and PC security as an Independent Consultant for Lavasoft (makers of Ad-Aware SE). 
Event Information:  http://orlando.dotnetnukeug.net/WhatsNew/Events/tabid/91/ctl/Details/Mid/428/ItemID/10/Default.aspx?selecteddate=12/9/2008
Event Registration:  https://www.codezone.com/UGEventView.CodezoneCom?EventID=5450