|
|
23 users are online now, 256 were on today.
Auto-refreshes every 60 seconds.
bhavindotnet has joined the site. Welcome!!:
(22 minutes ago):
sasikantt has joined the site. Welcome!!:
(54 minutes ago):
elzevirjr has joined the site. Welcome!!:
(2 hours, 6 minutes ago):
pdthiep has joined the site. Welcome!!:
(5 hours, 42 minutes ago):
chicagoroofer has joined the site. Welcome!!:
(6 hours, 36 minutes ago):
Use Visual Studio's Post-Build Events to Automate Unit Testing Running was published to homepage:
(6 hours, 38 minutes ago):
korsuas submitted Unloadable plugins:
(6 hours, 52 minutes ago):
Jaswetz has joined the site. Welcome!!:
(7 hours, 50 minutes ago):
Emgqciyu has joined the site. Welcome!!:
(10 hours, 1 minute ago):
matteomigliore has joined the site. Welcome!!:
(10 hours, 10 minutes ago):
JakubSK has joined the site. Welcome!!:
(10 hours, 37 minutes ago):
exortech has joined the site. Welcome!!:
(11 hours, 32 minutes ago):
Web PDF-Library Search Application was published to homepage:
(11 hours, 53 minutes ago):
kyrameadows has joined the site. Welcome!!:
(12 hours, 12 minutes ago):
Text OCR via Image Selection Application was published to homepage:
(12 hours, 38 minutes ago):
dasari70 has joined the site. Welcome!!:
(12 hours, 50 minutes ago):
Xandax has joined the site. Welcome!!:
(13 hours ago):
jordanday has joined the site. Welcome!!:
(13 hours, 15 minutes ago):
infynyxx has joined the site. Welcome!!:
(13 hours, 18 minutes ago):
ASP.NET MVC - Extracting Web Resources was published to homepage:
(13 hours, 23 minutes ago):
rsinha has joined the site. Welcome!!:
(14 hours ago):
jfiorini has joined the site. Welcome!!:
(14 hours, 4 minutes ago):
derekslager submitted A DVCS Story:
(14 hours, 6 minutes ago):
amjad has joined the site. Welcome!!:
(14 hours, 8 minutes ago):
The Easy Way to TDD was published to homepage:
(14 hours, 8 minutes ago):
tomdog submitted Web PDF-Library Search Application:
(14 hours, 40 minutes ago):
Query Composition using Functional Programming Techniques in C# 3.0 was published to homepage:
(14 hours, 53 minutes ago):
luhero has joined the site. Welcome!!:
(15 hours, 19 minutes ago):
|

Sponsored Link: www.carlist.ie
Shoutbox
yesthatmcgurk said
(18 hours, 45 minutes ago):
What is this thing you call, Oracle 10g?
powerrush said
(1 day, 17 hours ago):
@mcgurk passive aggressive
gavinjoyce said
(1 day, 17 hours ago):
I'm going to hold off on the new logo design for a little while.
gavinjoyce said
(1 day, 18 hours ago):
They are beside the 'report as spam' link.
yesthatmcgurk said
(1 day, 18 hours ago):
hmmm... I see the domain name on the story description, but I still don't see view counts stats. Are they on the page where you can view comments on a story?
yesthatmcgurk said
(1 day, 18 hours ago):
I'm just doing my part to keep the bullshit tag alive.
xtremebiz said
(1 day, 20 hours ago):
great news !!!
gavinjoyce said
(1 day, 20 hours ago):
Now running SVN revision 620.
We now have view counts stat on the story summary. Thanks Dustin!
gavinjoyce said
(1 day, 21 hours ago):
Oops, wrong template.
powerrush said
(2 days, 10 hours ago):
@yesthatmcgurk - is that a good bullshit, as in "bullshittin'", or as in "this is bullshit"?
xtremebiz said
(2 days, 12 hours ago):
Perhaps all coders on dnk shud hav amazon wishlist link on dnk donate page n dnk users can buy them stuff frm their wishlist - similar to tortoise cvs
dengar007 said
(2 days, 14 hours ago):
Hopefully you don't need to run a contest for the donate button graphic :)
But really, I think that's a great idea to have something like that on the front page.
gavinjoyce said
(2 days, 15 hours ago):
wow, thanks. I'll set something up tomorrow and post here again.
xtremebiz said
(2 days, 15 hours ago):
hi gavin i would want to contribute 50 USD to the logo fund... my small way of showing support to this great site :-) i can make the transfer right away if u can let me know the details
gavinjoyce said
(2 days, 15 hours ago):
Thanks, I think I'll post to my blog tomorrow with a link to a tip jar.
TroyMG said
(2 days, 16 hours ago):
I would contribute, Gavin. How about a donate button on the front page?
gavinjoyce said
(2 days, 18 hours ago):
Would anyone be interested in contributing a few dollars to the logo fund?
yesthatmcgurk said
(2 days, 18 hours ago):
Huh huh, huh huh, number 69 won, huh huh.
powerrush said
(3 days, 12 hours ago):
UnicornNinja - wow, I never new such a beast existed - interesting.
yesthatmcgurk said
(3 days, 14 hours ago):
At this point, the stories are so simple that the actual application is essentially a prototype. I guess I'll move ahead with it and see how hard it is.
Thanks for all the info, guys.
TroyMG said
(3 days, 14 hours ago):
Hey yesthatmcgurk,
Might I suggest that you (time permitting) use a prototype and model a couple of the screens you're planning on making using MVC? Just stub out the service calls to return fake data, what you're really interested in here is the use of controllers and views.
That should give you a basic idea of where your pain points will come in when building with the MVC toolkit and give you something to show to the rest of the team as well.
xtremebiz said
(3 days, 15 hours ago):
hey guys regarding my question on mvc the other day here is feedback from scott gu and his team :
Hi Raj,
There's no simple way to do this with MVC. The technique we'll look at is having server side validation logic called from the client. That way, you won't need to round trip just to validate. Of course, validation should occur on the server side again when the data is actually submitted to be safe.
Phil
xtremebiz said
(3 days, 17 hours ago):
personally i think mvc is a lot more easier to code (coz so much of routine code is already provided by the framework)... if you got guys who understand asp.net page cycle it really should not be a problem (provided you are fine with the viewstate problem) ;-)
dengar007 said
(3 days, 17 hours ago):
Dang, sorry for the double shout.
dengar007 said
(3 days, 17 hours ago):
That's true. I guess I didn't think of that aspect. I've known HTML for awhile so that was something I didn't consider when I was learning MVC.
dengar007 said
(3 days, 17 hours ago):
That's true. I guess I didn't think of that aspect. I've known HTML for awhile so that was something I didn't consider when I was learning MVC.
yesthatmcgurk said
(3 days, 18 hours ago):
With a small site the viewstate can be stored in the session (or dispensed with), so I'm not worried much about that, I'm more concerned with the learning curve.
I was thinking that because MVC doesn't rely on heavyweight controls, each with their own learning curve, that it would be more like learning HTML than a web application framework, but now I'm not so sure...
yesthatmcgurk said
(3 days, 18 hours ago):
forums.microsoft.com is a great place to go for help on any number of different subjects.
ravishankar said
(3 days, 18 hours ago):
can anybody help me in silverlight2.0
ravishankar said
(3 days, 18 hours ago):
Hi everybody i m new in ur group
dengar007 said
(3 days, 18 hours ago):
@Yesthatmcgurk -- Maybe look at MVC with the team. It makes the code easier to maintain and modify a little later down the road.
I saw this posted somewhere else but if the team members can understand Viewstate, MVC should be a piece of cake.
xtremebiz said
(3 days, 18 hours ago):
@yesthatmcgurk - mvc is not at all complicated as far as coding is concerned, however the biggest problem i face on mvc is viewstate and validation of complex add / update forms which have many tabs and many controls (like treeview , freetextbox, a lot of custom validators for complex business rules)
xtremebiz said
(3 days, 18 hours ago):
@yesthatmcgurk - if your admin has simple add / update operations and if you can do without viewstate i think u should go with mvc :-) else stick with webforms... troyMG would be the best person to comment on this, he really is good with MVC...
xtremebiz said
(3 days, 18 hours ago):
@yesthatmcgurk - great job done i hate spammers...
yesthatmcgurk said
(3 days, 18 hours ago):
K people with experience with MVC, I have a question...
The project I'm working on needs a simple admin website to track a service, view logs, and do a little WCF. The team consists of four people (3 years of c#, 1 year of C#, a recovering cobol/VB6 addict and a senior programmer who has copypasted more c# code than has written). Only the 3 year c# vet has any practical web application experience.
I'd like to go MVC, but if its too complicated to code right now maybe I should stick with web forms? Anybody have an opinion on that?
yesthatmcgurk said
(3 days, 18 hours ago):
Just banninated osimmassage 36 seconds after spamming; I wonder if that's a record...
TroyMG said
(6 days, 5 hours ago):
@powerrush: right, they would obviously continue WebForms for backwards compatibility, but they've said several times that WebForms is going to continue to progress, not just stagnate. while I'm fully on-board with MVC (its nice to not have to "roll your own" or use a 3rd party solution now), I like having WebForms as an alternate track for when you just want to throw something together with the designer. I like MVC as my "bare bones" option where I want to build things up from scratch with 100% control over everything that is output
@powerrush: baked in validations that are swappable for something else would be perfect
@gavin: thats really awesome. it looks to me like that could be done with fluent syntax and lambdas in 3.5... should be interesting to see what (if anything) MS comes up with
powerrush said
(6 days, 9 hours ago):
Great, now we have to DotNetSlackers Mafia
powerrush said
(6 days, 9 hours ago):
Could these kickfests be bug-related? hmm
xtremebiz said
(6 days, 10 hours ago):
thnx for all da links n info folks dnk is da best thing 2 happen to .net community :-)
powerrush said
(6 days, 10 hours ago):
KickFest!!1!
powerrush said
(6 days, 12 hours ago):
@gavin Sweet! Now that's what I'm talking 'bout
gavinjoyce said
(6 days, 13 hours ago):
It sure does. Here are the validations rules for a User model on www.carlist.ie: validates_presence_of :username, :email validates_presence_of :password, :if => :password_required? validates_presence_of :password_confirmation, :if => :password_required? validates_length_of :password, :within => 2..40, :if => :password_required? validates_confirmation_of :password, :if => :password_required? validates_uniqueness_of :username validates_uniqueness_of :email validates_length_of :username, :within => 4..50 validates_format_of :username, :with => /^\w+$/, :message => "cannot contain whitespace" validates_format_of :email, :with => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i, :message => "Invalid email" In the controller you can the a: if @user.save # some logic here # redirect end The view contains the following: <%= error_messages_for 'user' %> <% form_for :user, :html => { :class => 'form-large' } do |form| %> You can see the results on the following signup page: http://www.carlist.ie/signup/privateJust click continue without entering any info to see the validation messages. (Forgive the harsh red coloured error messages, I'll beautify them later). blah, blah, blah <% end %>
powerrush said
(6 days, 13 hours ago):
@gavin - indeed, that sounds great. I am unfamiliar with RoR, would that still allow for reasonable SoC?
powerrush said
(6 days, 13 hours ago):
@TroyMG - they would continue with WebForms for backward compatiblity, something MS has done for decades. I understand MVC is an alternative - again, I used MVC in Java back in 2001.
@TroyMG - yes, baked in would be great, analogous to WebForms being the default view engine, but others are pluggable. "Nobody got fired for buying MS" may be a trite phrase, but it is still very true in the corporate world, especially. Corps often need a clear thumbs-up from MS, vs. OSS, especially.
TroyMG said
(6 days, 14 hours ago):
TroyMG said
(6 days, 15 hours ago):
@xtremebiz & @powerrush - I think the reason they have said time and time again that MVC is just an alternative to WebForms (and one they expect only 5% of .Net developers to use) is because of this kind of trade-off.
If viewstate and control trees worked in MVC, why would they even continue with WebForms? The MVC framework, in my opinion, is for developers who want to get closer "to the metal" and not deal with the layers of abstraction that viewstate and control trees provide.
That won't be the right environment for a lot of developers, and it won't be the right environment for a lot of projects; we just have to identify the times when it is.
xtremebiz said
(7 days, 10 hours ago):
@powerrush - m sure support for all of this wud b avialable v soon in mvc coz otherwise no1 wud really b able to use it in real world scenarios
powerrush said
(7 days, 15 hours ago):
@xtremebiz - I'm with ya. ASP.NET needs to have a better control and validation story soon, otherwise we're taking a few steps back towards classic ASP when we have to roll-our-own control viewstate and validation frameworks when needed.
These things are the things I loved about ASP.NET that offered more rapid development after moving from a JSP/Java Servlet MVC architecture.
At least the default view engine is a "WebForm" (.aspx) one, so _some_ controls still work, such as Repeater.
As far as "q1", you'll still need some sort of server-side validation even if you have an AJAX client-side validation, to hackers from possibly bypassing validation (assuming you're public facing).
xtremebiz said
(7 days, 16 hours ago):
@TrogMG - thnx for ur help man i guess mvc might not be the best candidate right now for complex add update operations :-(
TroyMG said
(7 days, 16 hours ago):
for "q2" I would recommend persisting the treeview's state in a cookie, since that is really client data and doesn't need to be passed to/from the server
TroyMG said
(7 days, 16 hours ago):
xtremebiz: for "q1", I would recommend an ajax call to the server to test uniqueness. for now I would recommend using something like JQuery until Msft gets their AJAX framework into better shape
yesthatmcgurk said
(7 days, 18 hours ago):
I haven't used MVC in ASP.NET yet, but I'm about to within the next few iterations...
xtremebiz said
(7 days, 21 hours ago):
has anyone done something like this already? if yes it would be great to have some feedback on how to do this cleanly :-) thnx in advance
xtremebiz said
(7 days, 21 hours ago):
basically what im interested in knowing: how to handle complex validations in the view component of mvc & also how to manage state incase validations fail after posting to controller
xtremebiz said
(7 days, 21 hours ago):
guys any feedback on this would be very much appreciated - mvc related question:
q1) suppose we have a field ProductCode which has to be unique, currently we use a CustomValidator which makes a db call to verify its unique... how would mvc handle this type of validation? q2) we have a product add / edit page with multiple tabs, 1 of these tabs is categories tab where we have a checkable treeview control which gets all categories and creates a treeview based on child parent relationship between categories... user can check / uncheck category nodes to assign categories for the product which they are adding / updating when the user hits add / update we also do certain server side validations which are not possible on client side... we use viewstate for this treeview as we dont want to recreate this treeview from scratch if server side validation fails...and also to maintain check / uncheck state of category nodes... how do we handle this in mvc since there is no postback and viewstate in mvc (is there any simple way of doing this)
yesthatmcgurk said
(8 days, 13 hours ago):
I just noticed that there's only 36 people on right now. Missed the lunch rush, dangit.
yesthatmcgurk said
(8 days, 13 hours ago):
Good, all the better to kick my story!
gavinjoyce said
(8 days, 14 hours ago):
wow, 81 users online. that's a record
xtremebiz said
(8 days, 17 hours ago):
guys i forgot to mention yester i was surfing dnk on my nokia n73 handset with opera mini so this might be a problem specific to symbian os... however it never used to happen earlier... anyway i have logged this bug but dont think this would ever happen on pcs...
xtremebiz said
(9 days, 10 hours ago):
Ok guys i wud submit dis bug on google
gavinjoyce said
(9 days, 12 hours ago):
Please file a bug on to google code site, perhaps someone will fix it.
dengar007 said
(10 days, 11 hours ago):
I noticed that too and i thought maybe you were saving some links to read for later or something.
powerrush said
(10 days, 11 hours ago):
Thought you were just a fast reader.
xtremebiz said
(10 days, 11 hours ago):
Hey gavin i jus kicked da subversion story on da upcoming page but all stories on dat page got kicked
vivekamar said
(13 days, 20 hours ago):
How can i add a Kick It widget permanently on a site..Currently the only option I see is to first set up a link from here and then copy the widget code..is there somewidget like Digg over here?
yesthatmcgurk said
(14 days, 18 hours ago):
Poor Jude Thomas Lacour. Eleven minutes of work, shot to heck.
gavinjoyce said
(15 days, 12 hours ago):
Approaching 5k RSS subscribers :-)
gavinjoyce said
(15 days, 12 hours ago):
I'll take a look tomorrow and reinstate it if was.
yesthatmcgurk said
(15 days, 12 hours ago):
Ya know... I don't know. I did see another story from two years ago get a recent kick, so it might have been.
gavinjoyce said
(15 days, 18 hours ago):
Wasn't it posted two years ago too?
yesthatmcgurk said
(15 days, 18 hours ago):
Nuked the sparkle story because it points to a 2 year old slashdot post.
yesthatmcgurk said
(15 days, 18 hours ago):
Shoutbox is dead. long live shoutbox!
Jemm said
(22 days, 2 hours ago):
FlashXSFX: Funny, since I recently noticed that there is some superhero from DC Comics with my nick, which was made from my initials ;)
flashxsfx said
(22 days, 13 hours ago):
Jemm: actually I've been using the handle "Flash" and "FlashXSFX" since before Adobe's product was released. It's a reference to the DC comics character :)
gavinjoyce: I thought about submitting a bug, but I saw the URL rewrite one, and thought it might be related. I also thought there might have been a way to 'kick' my account back to original state or something similar :) Thanks!
Jemm said
(22 days, 15 hours ago):
flashxsfx: Strange. Maybe this community accepts only nicks like silverlightxsfx ;)
Seriously, I don't know, but maybe someone who can find out notices your question soon...
flashxsfx said
(22 days, 15 hours ago):
Hi all! Would anyone know why someone's profile (mainly mine atm) would return a 404?
aaronlerch said
(24 days, 16 hours ago):
Thank *you guys* for undeleteing the post-I was confused for a sec! :) BTW, the shoutbox feature is nice, so someone like me can easily see what's been going on. Nice job!
sirrocco said
(24 days, 22 hours ago):
thank me ? .. thank you :)
gavinjoyce said
(24 days, 23 hours ago):
Sirrocco, thanks - I've undeleted the post.
prashantvictory said
(25 days, 2 hours ago):
Hi guys, Please d't understand me (user @prashantvictory) as spam user, i am kicking the stories to bookmark all the good stories so that i can read them later, caz otherwise i have to search all the pages of ASP.NET tag. that is why i am kicking the stories which i like. And also i request the dotnetkicks team to provide us a bookmarking machanism so that its not neccessary to kick all stories. OR if its already there then please tell me about this, Thanks
xtremebiz said
(28 days, 10 hours ago):
@yesthatmcgurk - i may b wrong at this but i never noticed any probs wid spy page earlier. Only started noticing it since last couple of days. Would use firefox n opera to surf dnk for few days n report if i get da same error. Thnx
yesthatmcgurk said
(28 days, 18 hours ago):
I wonder if its still in IE8?
gavinjoyce said
(28 days, 18 hours ago):
I don't see it in firefox or safari
yesthatmcgurk said
(28 days, 19 hours ago):
Spy page problem is well known. I think its a browser rendering issue. Does anybody see it in a non-IE based browser?
xtremebiz said
(28 days, 22 hours ago):
hey gavin just came across the spy page error once again, submitted my issue along with 2 screen dumps on google... thnx
xtremebiz said
(28 days, 23 hours ago):
i wud luv to get involved wid coding on dnk project to make it more mobile friendly, however only when i feel i can do justice to it... right now m very very busy wid my .net projects, once couple of projects go into release i wud surely ping u :-) |