News Archives 
   
(click month to expand)
  

Recent Technology News Stories

Solentive News
NHibernate and ASP.NET  [click for more...]

Many people have asked from time to time about creating or finding a NHibernate Data Source to use with ASP.NET.  Here are a few that I have found.

NHibernate Data Layer Generation

http://sourceforge.net/projects/nhib-gen/

This project is hosted on SourceForge.  This project requires CodeSmith to generate the code.  The project generates, C# classes for business layer, data layer, and DataSources.  In addition, these templates will generate some based Insert, Update, Delete ASP.NET pages.

NHibernateDataSource

http://www.codeproject.com/useritems/NHibernateDataSource.asp


5/10/2007   [Link]
Hello World  [click for more...]

My first official blog post here at http://weblogs.asp.net/jguadagno/.  I intend for this blog to do two things...

  1. Provide tips and tricks I learned while rebuilding my web site (http://www.josephguadagno.net) using ASP.NET.
  2. Provide in sites to new / advanced ASP.NET development
  3. Provide answers to commonly faced problems / questions in ASP.NET development.

If you have any questions or problems with ASP.NET check out http://forums.asp.net

If you have any suggestions for topics: use the contact form on this page or comments.

5/10/2007   [Link]
Object Oriented Ajax  [click for more...]
Object Oriented AJAX class and objects structured for ease of use and maintainability for multiple requests.
5/10/2007   [Link] VectorX
Cool article if you are learning VS SDK  [click for more...]

Pablo wrote a very cool article on the CoDe magazine which should be very useful to most people developing VS packages. With extensive screenshots and wizards, it should make your VS extensibility life MUCH easier.

Give it a shot!

Read full article

5/10/2007   [Link]
Tech press and tech bloggers are completely full of crap  [click for more...]

 

The nice thing about Digg and social sites and RSS is that you can absorb a crap load of content around stuff you're interested in. Unfortunately though, I'm starting to realize that "crap load" is exactly what it has become.

The problem is that all the people doing the writing take a simple view of what they're covering and gauge its relevance on that. They form opinions that ultimately aren't useful because they lack context from the things they're covering.

Certainly the iPhone has been the biggest target as of late. It doesn't do Exchange support well, I can't install 3rd party apps, my iPhone was bricked by an update... etc. Why is it that none of this matters? Because it's a segment of the population that is so minor and so not part of the greater customer base. iPhone customers just want to make calls, surf for porn, and listen to tunes. It wasn't built for the geeks. If you want to launch rockets and haX0rz your neighbor's Wi-Fi, buy one of those goofy little Linux PDA's and knock yourself out.

The problem is that the coverage is by geeks for a non-geek device, and the writers don't get it. The same lack of context happens almost daily when it comes to other consumer devices, like the HD disc players. Look at how they all thought the Nintendo Wii would be novel but not a hit. Again, not thinking like the general population.

Unfortunately, a lot of the time even the geeky stuff isn't covered in context. Witness this silly rant by Scoble about the .NET source being released and integrated into the next Visual Studio. He just outright dogs it and rants. Does he develop in .NET or even have a realistic view of how widespread its use is? Apparently not. As a developer using that platform, it's a huge deal because I can better understand how and why things behave, and learn a great deal about the design practices employed. Instead, Scoble makes some asinine rant about open source and other such nonsense. This ain't religion, it's the VS team giving its customers what they really can use. And yet he has the balls to castrate old school media. He's not doing anyone a service.

There's a part of me that wants to just stop reading all of this crap, because I'm no longer getting any value out of it. I love my Apple shit, I love Visual Studio and .NET, and I love my Xbox 360. I use them every day, and feel comfortable talking about the products. Outside of those realms, I can't say I'm all that qualified to make a lot of declarations about tech I don't use beyond, "I have no use for that."

5/10/2007   [Link]
How to get a System.Type from an EnvDTE.CodeTypeRef or EnvDTE.CodeClass  [click for more...]

I have already hinted at this in a previous post, but this time it's a bit different. Sometimes it's useful to switch to a full System.Type when you're doing code-generation or general CodeModel navigation within VS in an addin or VSSDK package.

The trick is to retrieve the ITypeResolutionService from the DynamicType associated with the current project:

private ITypeResolutionService GetResolutionService()
{
    DynamicTypeService typeService = GetService<DynamicTypeService>();
    Debug.Assert(typeService != ...

Read full article

5/10/2007   [Link]
DotNetNuke Tip: How to modify the page title with your module  [click for more...]
This is actually a very simple trick to do inside of your modules, though you might need to setup an option to allow this to be turned on or off depending on what the site administrator wants the page title to be. In C# you can use the following code DotNetNuke.Framework.CDefault tp = (DotNetNuke.Framework.CDefault)this.Page; tp.Title = "This is my page title"; So the next time you're coding a module and need to change the page title, it's that simple. See you all at OpenForce07 in Vegas !...(read more)
5/10/2007   [Link]
ASP.NET AJAX server-side validation made easy  [click for more...]

The Validation Guidance Bundle is a new set of extensions to the Ajax Control Toolkit introducing AJAX enabled validators.  This is great for situations where a user is entering data unto a web form that needs to be validated against the server.  I have a current situation where I need to make sure that a posting's chosen Url is unique.  With this bundle, I can simply point it to the CustomValidator control which is already tied to a server-side validation method and AJAX will take care of the rest.  When the user tabs off of the txtUrl control, it will go back the server and validate the input in your custom method.  This is also valid for when users are choosing a login name or when you need to do any validation that you don't want to put on the client.

It also works directly with the EntLib Validation Block through a set of property proxies.

One minor gotcha that I ran into is that the assembly references a specific version of the AjaxControlToolkit assembly.  If you are using the latest build of the AjaxControlToolkit, you'll get some ugly errors about not being able to load the correct assembly.  I finally noticed that in the prerequisites for the validation bundle, it is stated that you need release version 10618 of the toolkit (as oppose to the latest 10920 version).  Some more uses are described below:

  • Improving UI responsiveness while reusing entity business validation logic across screens when performing validations such as:
    •  Length of Employee name.
    •  Employee’s email.
    •  Order number is unique.
    •  Order is complete.
  • Improving UI responsiveness for applications utilizing Server-Side ASP.NET validators.
  • Determining what type of validation to use for improving responsiveness and security.


5/10/2007   [Link]
Internet Safety  [click for more...]
Internet safety is something important for parents and their kids. I have the chance to work on the subject as the developer of Webwise.ie (a .Net site by the way!) to give advice for parents and kids about the dangers of the web. In Ireland and more generally speaking in Europe, we try to educate not to ban Internet access, so the site try to keep a positive attitude. If you want to know more about the project, watch my colleague Simon Grehan talking about the subject on a Irish TV show ....(read more)
5/10/2007   [Link]
Using Web Standards to Simplify Web Control Development  [click for more...]
An article on how web standards can be used in ASP.NET control development
5/10/2007   [Link] Steven Berkovitz
Javascript for Submitting/Closing modal popup on Enter/Esc keypress  [click for more...]
Javascript for Submitting/Closing modal popup on Enter/Esc keypress..
5/10/2007   [Link] Nital Soni
Better Together: ASP.NET and Silverlight  [click for more...]
This week on the Silverlight site Shawn Wildermuth presents three videos that demonstrate how ASP.NET and Silverlight work together, with a focus on using ASP.NET to generate dynamic, reusable XAML.
5/10/2007   [Link]
Customary functions of GridView in ASP.NET 2.0  [click for more...]
The most advanced works which you can do with GridView in ASP.NET 2.0.
5/10/2007   [Link] Behrouz Rad
custom javascript sorting using generic function  [click for more...]
custom client side javascript sorting using generic function
5/10/2007   [Link] rohithkrajan
Copyright © 2007 Solentive | Disclaimer | Contact | Home