Sunday, October 02, 2005

 

Denver, CO What's New in Microsft Visual Studio 2005

Here are a few questions some of you have asked, look for answeres to follow...

Web client object in VS 2005 SmartClients, is it to replace thw web browser control?

How will binding to an class object work in SmartClients?

Does ClickOnce work the same as SMS? or in parallel to?

Is there a way to target a specific group of people when deploying Applications using ClickOnce?

How do I deploy to users who do not have Administrative privilage on their client PC?

Will ClickOnce work with Windows 2000?


ClickOnce goes back to Windows 98. Updates will let you pick the version so match it to the version you are running. The only requirement is you need Framework 2.0 on the client not on the server. The bootstraper will handle the update to Framework 2.0. The Prerequisite section will install any number of other things (included) also Framework 2.0

Are you required to have Team Foundation Server, to be able to use all the Visual Studio Team System functionalities?

 

Salt Lake City, UT What's New in Microsoft Visual Studio 2005

When data comes back from SQL 2005 and fills a DataGrid or DataView in a VS2005 ASP.Net project is it saved in session or is there a round trip to the database every time?

Data is not stored in session if you bind it to a DataGrid. Under most default conditions it will be stored in ViewState on the page, hence increasing the page size. New ASP.NET data source controls have the ability to also cache data in which case, if it was needed again it would not hit the database but the application cache.

In VS2005 Asp.Net 2.0 is there the ability to do nested or hierarchical grids?

Keep in mind that DataGrid in ASP.NET 2.0 is basically replaced by GridView. When you say nested grids, if you mean similar to how a windows forms handles it if you bind to a dataset and provides basic navigation to the best of my knowledge no. That said you can have a GridView or a DataGrid inside a template column / field on the grid. You can also nest Grids inside of other grids. For more abilities a third party tool like Infragisits grids might be used.
I also spoke with Eilon who is the Software Design Engineer here at Microsoft specializing in Grids and he said that functionality is not in the current ASP.NET 2.0.

Can we have two debug sessions run in unison on one instance of IIS 6 or II7 in using ASP.NET 2.0 pages?

As best I know you can only attach one debugger to a instance of an IIS worker process so I would say no. That said, I have not tried to see if you had two ASP.NET websites that were using the dev web server on different ports if it would care if both were running in debug.

We know that ClickOnce uses bits, what is the minimum OS version which supports ClickOnce?


ClickOnce goes back to Windows 98 where with bits you have to have Windows XP and higher. Updates will let you pick the version so match it to the version you are running.

If it requires bits then what is the baseline OS?
The only requirement is you need Framework 2.0 on the client not on the server. The bootstraper will handle the update to Framework 2.0. The Prerequisite section will install any number of other things (included) also Framework 2.0

In ClickOnce can you stop from going back one version?

Yes. You can make the Revisions number in Publish version section on the main page is the same as the Revision number on the Application Updates page, the areas are circled in Red. (Access Application Updates by clicking on the Updates button on the main page)
Also make certain the number is the same number as the last publication number.


I worked with David Yack, and other internal resources to bring to you the answers I have provided.

Friday, July 01, 2005

 

JavaOne San Fransisco, CA June 27, 2005

It turns out this was the 10 year anniversary of JavaOne and I was one of the lucky few to be able to attend. I saw people from all over the world at the booths as well as along side me while checking email. I heard about JBI (Java Business Integration), Tigers, Mustangs and Dolphins (next versions). Most of all I enjoyed my peers enthusiastically walking around trying to absorb as much as they could about what is coming from Sun.

The integration work Sun has done to be able to use Indigo (VS.Net 2005 Beta 1) with their newest platform was very nice. The person at the booth was not only helpful and gave as much information as I asked for, but he was kind enough to share his business card and his code. For a programmer that was “Heaven”.

A BIG surprise was the presence of Microsoft. Yes you heard it right, Microsoft at a Java conference.

The people working the booth were very knowledgeable and helpful. They also gave away the “Microsoft .Net and J2EE Interoperability Toolkit” by Simon Guest, who was also there in person available for questions.



Sunday, June 19, 2005

 

Book Review

The .Net Developer's Guide to Windows Security
by Keith Brown
Published: 2004;
Copyright 2005,
ISBN 0-321-22835-9,
408 pages

Bill Gates has recently and repeatedly stated that Microsoft should give a high priority to developing secure products. Both books by Keith Brown (Programming Windows Security) have become required reading with Microsoft’s software security team. He was primarily referring to what Microsoft itself sells as finished products, like the Microsoft Windows XP operating system. But if you are an independent programmer, developing on a .NET platform, you should heed his advice as also applying to your coding -- hence, the importance of this book.
The book provides an easy to read technical description of various security issues. The book has 75 of what it calls items. Think of these as tips or hacks. Each addresses a security concept. The items are grouped into broad areas like Access Control Lists -- what they are and how to maintain them as well as how to steps and code snippets.
The discussions of Kerberos and other crypto related items are fluently explained, without recourse to math. To actually implement, you may need texts that delve into more detail. The overviews provided here are very understandable and hit the key concepts; however, there is a lot of background that is needed. The reader must have a strong understanding of windows security. This book is not for everyone, but if you are a programmer and you want an introduction to what you can do to create more secure programs integrated into Windows 2000 to Windows Server 2003 in a .NET framework, you will find this book worth the read.
The book is most beneficial when all steps in the book are followed and the book is seen as a guide to a lab. If you are a manager who is already security savvy and you do not know much about programming, this book will help you ask your coders the right questions. If you are not security savvy you will also be left with a lot of questions. The first 35 pages are the fundamentals of security. These pages are written in good humor and include a lot of FYI items. The next 30 pages show the interface to security in the windows environment. I must admit it does take a lot to setup a secured environment and a lot more to run code as a non-Admin which is what Keith Brown recommends. The real value for me as a reader started on page 65. From there to the very last page there is example after example and code snippet after code snippet which I practically copied and used.
Keith Brown provides links to his website and other websites to download software and various code samples to help with security, encryption and password generation. Keith Brown continues to be the master of clear writing, no fluff, everything is in concise topics that tell you the straight scoop you need to know about that topic. I believe Keith Brown’s book is like broccoli, everyone knows it’s good for them and everyone knows they should eat it, but due to lack of knowledge and education most people skip the security step. The book explains the key security concepts of Windows NT, Windows 2000, Windows XP, and Windows Server 2003, and teaches you both how to apply them and how to implement them in C# code. If there was ever a question about certain registry keys and settings, this book answers a lot of those questions as well. It not only serves as a good step by step practice book, it is organized in a way to be used as a desk reference as well.
Keith’s book is not only for the developer, it also is written for the not so technical person. The book builds on the foundation of how much security is important and yet over looked.
The book was very enlightening, and covered a lot of various areas in security. It gave a lot of background and shows that the author’s knowledge in this arena is vast. There are some pieces I use in my code everyday from this book; however, to setup multiple environments to makes sure the code is written in a secure fashion is not possible for me. I assume the same would be true for most developers as well. There is too much work that needs to be done prior to beginning to code and most projects either come from legacy systems or work across platforms. If all projects were pre-planned and done with ample time for requirements and setup the techniques described would be applicable, however in most cases such a luxury doesn’t exist. By reading books such as this about security a developer and a manager can learn a lot about what can be done and how to better handle situations as well as plan better for up coming projects. I think such a book would be better if accompanied by a CD which includes a VPC with examples for the developer reading and wanting to apply the techniques described.
Keith Brown touches all areas of security -- from the PC to servers and networks. The snippets of code provided, as well as detailed step-by-step instructions to follow to setup a development environment and lockdowns of networks is very beneficial. The book is best used as a guide along with a computer or a network on which to practice. What I found most enlightening and fun about this book was all the background and knowledge about the Windows operating system. I found myself looking into the OS on my PC to see how making certain changes affected my system and found myself wanting to learn more about the OS and security in general. I believe this is a great book for those wanting to learn about Windows security and a wonderful reference for a Project Manager to better guide his team. I would highly recommend this book to anyone in the IT industry. Especially to those who come into contact with development and networks.

Friday, June 17, 2005

 

DataGrid Girl

The datagrid Queen.
I've seen Marcie present at the Jacksonville, FL .Net User Group and she is amazing.
She presents DataGrid concepts (ASP.Net, VS 2003) in a very simple manner.

Her website:
http://www.datagridgirl.com/ is full of information about the grid control and references to other sites, books and articles.

And just for the ladies, it is PINK all pink everywhere.

The DataGridGirl is my first stop for all DataGrid Questions.

 

In the beginning...

June 15th 2005 – 2005 Betas Unleashed in Denver

It was a GREAT event, well organized and good information, with a big plus of "FREE" copy of VS Team Suite 2005 Beta 2 , SQL2005 Beta 2 and VS2005 Beta2.

The technology was great, what was great was meeting all the people. Unfortunately, as always not as many women as I would like to see.

I've had a goal of promoting and encouraging more women into the software development world. I met a few people who have some ideas around it as well. Together we hope to make this dream come true.

The first step is to create a place where all my women colleagues can come to, for questions, articles, and just to share their views. I would like to make the walk into the software development for women as easy as possible. I am going to include as many tips and tricks about the work place, as well as code pieces and how to communicate in the software industry.

For those ladies interested, but struggling for one reason or another to get into the software development arena, I would like to offer my help. It has been a WONDERFUL and magical path to where I am and where I would like to take myself in this industry and I would like to help others along the way.

My goal is: "To encourage and promote love of software development in more women than there are men in the software industry. To encourage my women colleges to step up!"

I encourage men to comment and share their thoughts as well.

This page is powered by Blogger. Isn't yours?