April .NET User Group Meeting - 2009
I did my very first presentation at Colombo .NET User Group (CDNUG) yesterday on Dynamic Data titled as 'Building Data-Driven Web Applications using Dynamic Data'.
The session touched the key areas of Dynamic Data customization apart from setting up and configuration. I was so happy to see the audience coming up questions :) I enjoyed doing the session a lot and do feel free to buzz me if you come up with any problems or something interesting on Dynamic Data.
By the way, there are couple of snap shots..and will be posting them once I receive them.
Here are they are..
9 Comments:
This comment has been removed by the author.
Yeah. We really enjoyed the session yesterday. Thanks for sharing you knowledge. Keep up the good work.
that was a nice presentation. can you post or give me hint how to give authentication for the project. It is easy with up coming Domain Data source but I don't know how to do with linq to sql this authentication.??
Dear Miss Gayani,
I'm Senevi, participate yesterday training session.
So now I working with Visual Studio 2008. but there are no facilitate to create dynamic data web site. What should I do?
If u have a time please help me.
thanks
kumara23@gmail.com
Dear Senevi, you should install Visual studio service pack 1.
Hi Kalinga,
Thank you for the comments. I saw a nice post by Stephen Naughton’s Blog on this. Have a look you can get some workable solution there.
http://csharpbits.notaclue.net/2008/05/introduction-this-project-is-going-to.html
Hope it helps,
Thx,
Gayani
Hi Shashin,
It’s my pleasure to share knowledge with you all. I'm so glad it helped.
Thank you for all the comments.
Gayani
Hi,
There was a one question some one asked during the session which I couldnt give a proper answer then, so here is the answer to it.
His question was, in a dynamic data application, how it is possible to assign the system date as the modified date when a user edits a record and update it.
Example:
I have a Product Review table that has couple of fields and Modified date. I’ve extended the partial method of OnValidate as follows.
partial void OnValidate(System.Data.Linq.ChangeAction action)
{
if (action == System.Data.Linq.ChangeAction.Update)
{
ModifiedDate = DateTime.Now;
}
}
This will set the Modified date to system date. In this case we can make the Modified date field to scaffold false so that at runtime it will not be bothered to pick up a corresponding Field Template and populate the data in it, but rather it exists in the entity class of ProductReview in the data context, so when the above method executes it will assign the system date as the modified date.
Hope it helps,
Thx,
Gayani
thanks for the answer...:D
Post a Comment
<< Home