My first post using this tool, nice one !!!
Rather than calling it Windows Presentation Foundation, Windows Communication Foundation, and Windows Workflow Foundation... ( it's too longgg !!! )
OR
Rather than calling it with their abbreviation, WPF - WCF - WWF/WF ( DAMN !!! We must spell 3 letters, how annoying !!! )
Let's pronounce it with :
WCF = WinCom
WPF = WinPrez
WWF/WF = WinFlow
This is the real posting
http://weblogs.asp.net/jgalloway/archive/2006/06/01/Make-MS-codenames-cool-again_3A00_-WinCom_2C00_-WinPrez_2C00_-WinFlow.aspx
It's not that good but it's better...
This is the link
AJAX , ENJOY !!!
Try this site
Infocard Explained , it's a nice video about infocard (a new identity management in vista, based on winfx). I think one of them in the video (the program manager of infocard) is indonesian, hmm, am i right ??? CMIIW..... And the nicest thing about infocard is that we can use this identity/credential for our WCF services, we just have to set some xml config for our WCF services and then when our program invoke that services , the infocard dialog will popup and ask us to choose the card that we want to use, cool right.... No more hassle in remembering all those kind of password and user for different services and websites.... We can integrate it all into a single sign-on using infocard and the UX (User Experience) is very good. Enjoy !!!
Here is a blogcast series for service factory,
Service Factory Blogcast Series , ENJOY !!!!
Continuing my prev post.... Now i want to share one software factory that are ready to download and use. This bits are made by the guys at p&p team, this factory helps us to create services based on WCF. Download the bits here
Service Factory , this thing's really cool, it has already implemented the best practices for creating Services.
This toolkit helps us to create guidance for developer to follow in creating software, rather than creating written guidance we can create the guidance
DIRECTLY AVAILABLE IN visual studio 2005. This guidance can include pattern, snippet, best practices, solution template, project template, rule, add-in, etc... We can package it into an installation (.msi) and then install it into the developers machine, and after that there will be a new project/solution template in visual studio 2005 to create the project. As we can see that Guidance Automation Toolkit or GAT will be useful for architect to create rule for their developers. Some people call the package that are created using GAT by the name Software Factory. You can download the bit from here
http://www.guidanceautomation.net/ , in this website there are also some action, recipes, reference, template and other things that we can download and use it in our package. All of this are free and open source. So maybe later on, rather than making only whitepaper for pattern & practices, there will be a Software Factory that has implemented those best practices that we can extend or use.
- OOP - No comment for this one, everybody must have known about this one, it's a must in development world.
- .NET Framework - Of course, without this there won't be .NET, things to learn about this thing is how everything work. From assembly, module, CLR to MSIL.
I recommend reading Essential.NET (The CLR) by Don Box n Chris Sells.
- C#/VB/J# - Of course, this is the language !!! How can people speak if they don't learn the language.
- ASP.NET - This is the era of web app.
- Design Pattern - Pattern.. Pattern.. and then Pattern & Practices. But don't be a PATTERNITIS.
I recommend the book Design Patterns by GOF (The extraordinare popular book), Head First Design Pattern, and P of EAA (Patterns of Enterprise Application Architecture) by Martin Fowler (You know the man...).
- NUnit - TDD (Test Driven Development).
- log4net - Nice logging API.
- NAnt - Automate your build process.
- NHibernate - The most popular ORM.
- Agile Software Development - Keep Agile !!!
- EntLib (Enterprise Library) - One heck of a framework.
- CAB (Composite UI Application Block) - Cool MVC framework.
- SOA (Service Oriented Architecture) - Web Services (WSE, WSRF, etc), Remoting, Enterprise Services, and all those stuff.
The most interesting thing to tell is that other than the .NET itself, it's all FREE, clean with no charge at all !!!
CMIIW and add up other stuff that i didn't write, hope it helps. CIAOO !!!
It's been a long time since i post to this blog. I'm still busy with my CISCO stuff, and also have to train some end-user to use my software, and i work alone. I work as a .NET freelancer (my team is just me and one of my friend), but because my friend is also working in a company so i'm alone, since i'm still not working (waiting for my CISCO stuff). Now when i have time, i will try to share some of my knowledge, ok let's just start....
We know there are some contribution to NHibernate because this ORM is so popular, one of the contribution that i like is to let NHibernate use attribute (like DLinq and XPO) instead of xml file to map our class/domain object to the DBMS, but actually it is just some helper class that let us set some attributes to our class and then we can generate the map data.
First we just create some class that will be map with some table
class Customer
{
}
and then we add some attributes to map this class to a table
[NHibernate.Mapping.Attributes.Class(Table="Customers")]
class Customer
{
}
and the we add one or more property that represent the id/primary key of the table and the attributes that map this property as id
private String _ID;
[NHibernate.Mapping.Attributes.Id(Name="CustomerID")]
[NHibernate.Mapping.Attributes.Generator(1, Class="native")]
public String ID
{
get
{
return _ID;
}
}
and of course we should add some column/property and the attribute that map this property as column
private String _name;
[NHibernate.Mapping.Attributes.Property(NotNull=true)]
public String Name
{
get
{
return _name;
}
set
{
_name=value;
}
}
Like that...
After we have created all the mapped property we can start the code that changes all this attribute mapping to a mapping data.
This is the code...
NHibernate.Cfg.Configuration cfg = new NHibernate.Cfg.Configuration();
System.IO.MemoryStream stream = new System.IO.MemoryStream();
NHibernate.Mapping.Attributes.HbmSerializer.Default.HbmDefaultAccess = "field.camelcase-underscore";
NHibernate.Mapping.Attributes.HbmSerializer.Default.Serialize( stream,System.Reflection.Assembly.GetExecutingAssembly() );
stream.Position = 0;
cfg.AddInputStream(stream);
stream.Close();
- First we create the NHibernate configuration and then we create a memorystream to store the map file in-memory.
- Then we set some property, with this setting NHibernate will convert the name of the property in the camel case and will add an underscore before to get the name of the field that hold this data.
- Then we serialize the class into xml (in-memory) from this assembly (executing assembly).
- And last we rewind the stream and add the stream into the configuration then finally close the stream.
So other than cfg.AddAssembly / cfg.AddClass / anything ... we can also use cfg.AddInputStream to add the stream where the map exist.
That's it... Hope it's useful...
Ciaooo !!!
Habis
attend Community In Touch pertama bagi para IT Pro (mengenai WSS 2003 R2), hmm… asik juga
acaranya , sebagai Developer saya jadi bisa dapat beberapa pandangan baru dalam
mengusahakan agar aplikasi dapat memanfaatkan infrastruktur yang sudah ada, dan
apalagi dengan adanya ADFS dan UNIX interop, semuanya jadi membuka banyak
challenge baru dalam men-develop aplikasi yang terintegrasi…. Dan jelas bagi saya yang seorang Developer memang paling tertarik
dengan 2 komponen ini (ADFS dan UNIX interop). Dan dalam acara ini juga
sangat terlihat cara pandang yang berbeda antara para
IT PRO dan Developer (dan bagaimana IT PRO memprotes kalau Developer melulu
yang dimanjain dan dipublikasikan, hehehehe…….). Yang pasti jika
kita bisa saling komunikasi antara IT PRO dan Developer maka kita bisa
mendevelop aplikasi yang lebih ter-integrasi dengan sistem kita dan
memungkinkan kita untuk membuat infrastruktur sistem yang SSO (Single Sign On),
sehingga dapat mempermudah end-user dalam mengingat user dan passwordnya karena
hanya ada satu.
Al3x4nd3r@hotmail.com
Ricardo Alexander (TrackerX)
http://blogs.netindonesia.net/ricardoalexander
Genius is nothing but a great aptitude for patience
The Last
Component has released Persistent Datasets 1.0.5 – the persistence
framework that use native C#/VB queries for querying database. The newest
release supports querying both DataSets and Domain Objects using improved Typed
Queries syntax and includes SqlServer 2005 support.
For those
who are waiting for LINQ………. Nahhh, this is not the answer,
but you can try how nice is a Typed Query, and how interesting to do some QUERY
to your Domain Objects/Business Object
This is the
link http://www.lastcomponent.com/
Al3x4nd3r@hotmail.com
Ricardo Alexander (TrackerX)
Genius is nothing but a great aptitude for patience
More Posts
Next page »