ZLIB for .NET is available for download here:
http://www.componentace.com/zlib_.NET.htm
The license is BSD.
dfghdfgh
[WebMethod]
public Northwind.CategoriesDataTable CategoriesDataSet()
{
Northwind.CategoriesDataTable tbl = new Northwind.CategoriesDataTable();
NorthwindTableAdapters.CategoriesTableAdapter ad = new NorthwindTableAdapters.CategoriesTableAdapter();
ad.Fill(tbl);
return tbl;
}
....
<mx:DataGrid id="tbl" dataProvider="{ws.CategoriesDataSet.lastResult.diffgram.DocumentElement.Categories}">
<mx:columns>
<mx:DataGridColumn headerText="Column 1" dataField="CategoryID"/>
<mx:DataGridColumn headerText="Column 2" dataField="CategoryName"/>
<mx:DataGridColumn headerText="Column 3" dataField="Description"/>
</mx:columns>
</mx:DataGrid>
Well, you should never actually render the "&" character directly anyhow. It should always be &.
Hmmmm, I posted this bug a few months ago at asp.net forum and the Atlas team replied that it will be fixed in the next release.
Have you seen what Midnight Coders are doing with their WebORB for .NET? It appears to be a native implementation of Flex Data Services in .NET. See their website at: http://www.themidnightcoders.com
Do you have any posts on your Macromedia stuff?
well, no, it's nota causing a string concatenation to break. the problem is that the head element is included in a partial postback response (if it has runat="server") and its content is not escaped on a cdata section. since the partial postback response is an xml message and you're using one of the "forbidden" xml chars...yep, you'll get a badly formed xml message on the server which won't be processed by the client portion of the framework.
This fix was released a while back. : http://support.microsoft.com/?kbid=915782
Just call MSFT support via the toll free number and the customer service rep will send you the fix.
Blogging came after my MM Generator days, you can see my Generator forum posts here.
http://groups.google.co.uk/groups/search?hl=en&q=Andrew+Stopford&qt_s=Search
and web links
http://www.flashcentral.com/Tech/And/Generator.htm
http://cfdj.sys-con.com/read/42029.htm
Even though I don't have to, I will gladly pay $95 to use TD.Net for my personal development projects.
Daron explanation is nice...but wrong
see Marting Fowler's explanation @ http://www.martinfowler.com/eaaDev/ModelViewPresenter.html
Arnon
I contributed some sections to the book too, so you can add me to the list of contributors you know. ;)
No what you mean. Take a look at doxygen http://www.stack.nl/~dimitri/doxygen/
If you point it at your source code it produces great documentaion. It also has some other rich features and custom tags
I contributed too with a chapter about BusyBoxDotNet. Is it really a a life's ambition to write in a O'Really book?! That sounds very good ;)
After my post on documentation tools and the news that MS had a NDoc style tool up it&#39;s sleeve comes
Andrew,
For this CTP release we will not include any MS Build task. We are look at this as feature for future release. Please feel free to email me directly (aramATmicrosoftDOTcom)if you have additional questions or feature requests.
Anand..
You can follow the posts in this thread, but I know a *lot* of people are anxiously awaiting the release
I will build one as soon as I can get my hands on a copy of it.
I'm not so sure I entirely agree with you on this one.
Like you, I don't publish my blogroll as a permanent fixture on my blog. No point in saying "This is my clique".
However, I do find value in occasionally highlighting blogs that catch your attention above the norm. For example, that was one reason I tried to start a meme around that: http://haacked.com/archive/2005/09/23/Top10RecentBlogs.aspx
I think it is a good way to help others find blogs they wouldn't otherwise find. Although, I do like trying to take the appproach of highlighting blogs *other* than just your top 10.
I'll cover you ;-)
I'm pretty suprised by your comment. Did you listen to the show? He clearly said that he had 1500 blogs, had gotten it down to 600 or so and just wanted to give an example of some he reads ever day in order to highlight a few. He didn't publish it as a "list"
Phil\Sam,
Thanks for the comments, Scott may have a mighty blog list, he may gotten it down to 600 and he may have shown the list as key examples but....I don't believe in trying to show key blogs when every blog has value. Like you both I believe in showing items from blogs from all over the blog world that have value, rather than any one blog. I understand that Scott was showing some key examples of what he reads and that's cool but my preferance would have been showing key posts from his blog list, bringing focus to those posts.
Andy
> don't believe in trying to show key blogs when every blog has value.
Does it? There a lot of blogs that talk complete ***. In fact, the noise drafs the signal and for many people they need a guide to blogs that provide consistent signal value. I'm not saying it was the ultimate list of that but someone's observations unformally.
The FxCop add-in now lives on Tigris. I agree there's much to be improved. I'll be looking into it more this week. I hope to release a new version soon.
Please let me know if you have any suggestions for improvement. =)
Sam,
The nature of blogging is to blog what you want when you want, different people obtain different values from posts. Some folks may find it *** others may find it useful, different levels of ability exist within our community and not everyone is elite. Let me bring to attention the one guy that values posts from as many sources that he can.
http://jasonhaley.com/blog/
I value everyone in the community's blogs. I link to everyone and I was doing it way before Jason. I don't understand the reference to elitist. I have spent the last five years trying to build community.
All, I was saying is that Scott just had 20 minutes or so to informally mention some fave blogs that he goes back to every day. It wasn't meant to de-value any one else or their contributions. For instance, you weren't on it but does that make your blog any less? Of course not. You have been one of the biggest contributers to the community and I have linked to you consistently through the years.
I feel like we may be talking past one another. I appreciate *anyone* who takes the initative to start writing about their experiences.
Do have any examples where the web service returns XML?
The folks over at TheCodeproject have a rudimentary GUI for sandcastle --> http://www.codeproject.com/lounge.asp?msg=1602333#xx1602333xx
hi!
I've tried this IDE and I think Web Designer is better than Aptana, and I don´t know where Atlas is in Aptana. furthermore, Aptana is based in Eclipse, and I don´t like it. :-)
bye!
I decided to take on the task of writing a MSBuild script for Sandcastle. Have a look at it if you're interested!
http://blog.ljusberg.com/2006/07/msbuild-script-for-sandcastle.html
/Anders
An IDE without Asp.Net support and you would like to see Atlas support :)
That kinda sounds funny :P
Seriously though, it looks nice for a javascript IDE and thats basicly what it is.
Yes - Sandcastle on Codeplex is a brilliant idea. Every time you check in a change to your class library it updates the documentation..I like it!
looking forward to it
I have found something on www.netbpm.org. I would appreciate your feedback on trying to use it.
Thomas Murphy on Team Edition for Database Professionals CTP5 is around the corner. Eric Jarvi on...
Thanx it worked
There is no impact.
There is an impact on the agile approach to the remote worker. Remote work just does not work.
Thomas can you expand on what you mean, what impact and why does remote work not work?
I just added a Visual Studio plugin to the above-mentioned build script. Try it out if you're brave!
http://blog.ljusberg.com/2006/08/sandcastle-visual-studio-project.html
Andrew raises the question: What is the impact of the remote worker on Agile approaches?A couple of months
One point you have with people in one room is the informal information exchange. Overhearing conversations, meeting for a coffee. That simply gets eliminated. Tools like VNC do not work properly on a multi monitor setup - you can share basically one. Plus chat is a lot slower than audio, and struggling for keyboard control for virtual pair programming is a pain - you miss all the feedback of the otherguy just taking the keyboard.
In my experience is just does not work. We are eliminating remote work for most positions as a result. Agile methods work best if you have - well - a TEAM that has all these informal communication channels open.
I really think it depends on the size of the dev team, and the level of communication with the remoters. I have had a lot of experience with this and it has seemed that it is all too esy to forget the remote folks. In agile, change is a constant as we all know.
I think the remoter takes the brunt of work fallout when communication is "sub par", yet the team feels it in the end. What I mean by this is that without solid communication a certain amount of retooling could occur on the dev side for the remoters if the had missed something through the products evolution. This is all to easy to do. In the long run, the entire team could take a hit due to this incurred cost of retooling in lost time.
It really depends on how good of a project manager, if there is one, is at the reins. They typiclly are the one that needs to be flying at full bore to assure that everyone is on the same page.
I have witnessed it work in many cases, but have seen and felt a lot of frustration with virtual teams as well. It definitely requires a lot more of a team than if you are sitting right next to everyone else. It is all to easy for something to get "lost in translation" when you are not face to face.
I regards to the impact of time, you really can't gauge it without project scope clearly identified. In a perfect scenario, it has no impact, but more likely than not, the timeline will be longer without a doubt due to the additional energy that needs to go into communicating.
Some rules of thumb that I have found that helps:
1) don't forget the remoters (obviously)
2) for agressive projects, daily status meetings are critical.
3) Instant Messanger... nuff said...
4) GoToMeeting, or the like (they are money well spent). Far more people are visual not conceptual.
5) To address Thomas Tomiczek comment, implement a Time Tracking application. I like using one purely for a CYA purpose.
Here is a good read,
<a href='http://72.14.203.104/search?q=cache:6kO0qt50-wYJ:www.agiledevelopmentconference.com/2003/files/R12Paper.pdf+development+agile+virtual+teams+remote&hl=en&gl=us&ct=clnk&cd=1'>Agile Development and Remote Teams: Learning to Love the Phone</a>
If you do a search for 'development agile virtual teams remote' you will find that many have pondered this subject before. I think all it comes down to is streamlined and constant communication (which is a requirement of agile anyway but remote scenarios IMO require more).
Let me add that for the last 3 years I have been running projects that involved people on up to 4 locations, distributed over multipel countries (in the same timezone)
We are now consolidating teams two locations and eliminate the majority of remote work.
Thomas, you stated that in your opinion, "it just doesn't work"
In your opinion, what do you believe to be the source of the failures. Your statements point toward technology and its shortcomings are resposible for the failure, but in all honesty, I don't believe that technology could be held accountable here. It sounds like in the experience you have had is a simple communication breakdown. I couldn't agree with you more on the "coffe talk" that is missed, but if a team has solid communication, those things don't slip through the cracks.
I have been working in agile virtual teams for almost six years now in one capacity or another (on both sides as well), it works IMO, but must admitt it can be painful if communication is not held on a pedistal and aggressively pursued.
Remoters are to easily held as scapegoats for failures, which is one of my biggest peeves in virtual teams and see it in almost every project. It is a TEAM. If I have the choice, when building out a team, I steer clear of virtual teams at almost all costs. But, the fact of the matter is, sometimes they are unavoidable.
::I couldn't agree with you more on the "coffe talk"
::that is missed, but if a team has solid
::communication, those things don't slip through the
::cracks.
The problem, though, is that this COSTS MONEY again. It costs lots of time, lots of effort. And eliminates most of the gains you had in the first place.
It works very well on the non-programmer level (i.e. separating project management from the team), and it works if you can cut down tasks. It may also work for stuff like graphics, web design. In fact ,we do use it here (note: web DESIGN, not programming).
But when you ask about real programming, the loss is just not worth it, imho.
hey andrew,
Ben Hogan of ThoughtWorks recently did a talk at Agile 2006 on running a distrubuted Agile project.
The project was a success although not without its difficulties according to Ben.
The question that needs answering is why would one opt for a distributed project?
He offers some great tips for easing the troubles associated wth the approach.
You have to make sure you think of yourself as one team, not as two teams. If you think of yourself as two teams, you will blame the other for any problems.
It helps if you make sure you always think of the "other team" as a group of people with similar strengths and weaknesses and competing priorities to yourself and have regular communications with them to reinforce this.
Thanks for the comments guys, interesting debate opening up here and it's good to see two sides of an arguement developing.
I really should add that one of the reasons I ponder this is because OSS projects tend to spawn large development teams that spawn mutiple locations across the globe. Now if Agile does not work for remotely then will it ever see adoption in OSS projects or should a more micro-team per feature approach be taken to make a remote appoach work better.
My take on the costs of remote working is such that sometimes you cannot always ship the talent your need to the places you need and the cheaper option is to work remotely with this folks. Relocation costs are far more than some decent hardware/software for remote working. While coffee talk is missing here, I disagree that during daily meeting and pre-start informal IM chats that you cannot have this. Nor does the phone have to be ignored ;-)
Your thoughts as ever are very welcome.
Which testing framework do you use?
Valtentin, I am lead on the MbUnit project so I use MbUnit everywhere I can.
If you're interested in knowing a bit more of the inner workings of Sandcastle, but don't have the time to figure it out for yourself, come have a look:
http://blog.ljusberg.com/2006/08/sandcastle-under-hood-part-1.html
http://blog.ljusberg.com/2006/08/sandcastle-under-hood-part-2.html
I'm working on part three, let me know if there is something specific you'd like me to include!
I think distributed agile can work, but would guess-timate it at 2x to 5x less effective than a co-located (warroom) team. I lead a colocated team that occassionally have team members work from home. We compensate those days by doing more structured work planning in our morning stand-up and by using a Skype room (easy to chat and hop in out of voice) that the whole team, including ScrumMaster, is in all day.
It's not ideal but, if there's a good reason to take the effectiveness hit, you can still be successful (by which I mean build working software in a predictable way). If you have a growing product line, however, I would look at the possiblity of creating multiple co-located teams instead having a strategy of distributed teams.
I also agree that "coffee talk" can very much happen in a team chat room over the course of the day.
Distributed agile does work. I have been the project manager for agile projects for the past two years. Yes, the communication with the remote team is a challenge, but not a show stopper.
Remember the original question of this post, "Do you think all the team need be in the same place or can some be remote and some be with the client in the war-room?" Well, what do you want the role of the remote team to be? That will drive the answer to the original question.
Remote workers do have an impact on any team and management structure. Some of this impact is positive while other is not. Just like having active and passive personalities, rigth-brain and left-brain types, boys and girls, different backgrounds, et cetera.
In general it's harder to communicate with remote workers. If the remote people have strong "remote" communication skills this is probably a non non-issue. Not everybody is suited to work remote which I guess goes both ways: not everybody knows how to work with remote co-workers (this second part might be easier to address, though.)
It's also a matter of the percentage of people that will be remote and the reason for it.
On the upside you can hire the best of the best when you don't have a geographical location restriction. Even if your office it's in the middle of nowhere you can hire the best C# developer for high performant systems that lives near the beach and won't move to the middle of nowhere (again, certain conditions need to be met first but it's an option that you might not have otherwise.)
In SCRUM, and agile in general, the need for frequent communication is a key ingredient. If you can get the level of communication that you need from the remote workers and/or the rest of the team that will work with the remote coworkers then go for it.
Process Academy made a Visual Studio plug-in that works quite well with Sandcastle. It is free and you can easily select which projects you want to build. Read the readme.txt and you should be all set.
Louis
C# Best Coding Practices Naming Conventions for UI ControlsStringBuilder vs. String / Fast String Operations...
The World is small :)
We've done agile in a variety of remote locations for a variety of projects. It works but it isnt without its difficulties. We use the phone for daily scrum with remote team members. Each team member has one remote day each week. We have one full time remote team member. To date we havent had issues with being less agile but rather issues with things like reception on the phone being poor, people not being a assigned phone numbers, or online for chats, etc.
We've also done agile with a hearing impaired staff member via IM for daily meetings. Again, with proper, aggressive moderation this is completely viable.
Its not without its challenges but its completely do-able. Personally, I look for growth in the collaboration space with things like Skype, Groove, etc being more heavily used in the future.
"I'll say it again that a community Sandcastle codeplex\SF project for all this stuff would be great to see."
I allready submitted a project request on codeplex last week, but still no project generated. The project wont only contain the sandcastle functionality but also other helpfull stuff.
The sourcecode of the add-in is freely available allready.
http://dotnetpret.blogspot.com (look 4 sandcastle)
cheers,
Frank
I am also looking at the same tool for an ERP implementation. Any takers? I looked at nxbre - but it does not meet all requirements.
Regards
Ram
Well, here you are, now on Codeplex:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=SandcastleAddIn
For those interessted also my GoogleDotMaps project:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=GoogleDotMaps
gr
can flex objects have customized ways to be serialized? if yes, how to do?
Some interesting comments and some really unusual colors on some of the linked blogs.
See - http://weblogs.asp.net/astopford/archive/2006/07/27/MbUnit-Asserts.aspx We need Asserts AreNotEqual IsEmpty IsNotEmpty IsNaN. Less - dupes existing LowerThan Contains - dupes existing In Greater - dupes existing GreaterThan Typ...
Big Geek ;-)
Just to let you know, I've added MSHelp 2 support to the above-mentioned build script:
http://blog.ljusberg.com/2006/08/sandcastle-help-compiler-2-support.html
I personally find the basic tenets of Agile improve both the quality and the speed of development. If nothing else breaking up a project into smaller chunks makes things dramatically easier to manage.
I'm not however all that enamored with TDD. It is great for some things, but it isn't the /only/ reliable method to develop software. And for things like UI it doesn't make an sense at all (you can't assert ugly).
The keys to me are keep things simple, keep things small, and keep every pieces of code "fresh" by constantly refactoring both the code and the comments.
It's a love/hate thing man. If you are only running your code in one context (ASP.NET), what's the point of abstracting your context to another class that is simply a passthrough?
Problem is, I do run my code in 2 contexts. ASP.NET and MbUnit (what! what!).
I wouldn't even consider this IContext if Microsoft had done so with ASP.NET. Or if they had at least not sealed HttpContext. Because it is sealed, I can't use RhinoMocks to mock it. Grrr!
That leaves me this monstrosity that handles 80% of my cases.
http://haacked.com/archive/2005/06/11/4617.aspx
But is complicated and hard to maintain.
Phil
Andrew Stopford asks:One of the comments in Phil's post on using the MVP patten ismappingthe Context
I simply dont use sprocs anymore. With a good OrMapper, you dont need them. That is a layer I dont have to *deal* with anymore in my apps.
Now there are arguments that have been re-hashed a billion times, but in the end the OrMapper's benefits out weigh sprocs by far. I wont argue sprocs do have some benefits.
Also there are some OrMappers that can use sprocs, http://www.ormapper.net comes to mind for the best of both worlds.
This post by Paul Wilson is interesting - http://weblogs.asp.net/pwilson/archive/2004/09/18/231188.aspx
but in a real world query what about several tables with several joins or variables from one table to serve another query etc?
Depends what you're doing.
If it's pure CRUD, where your OO and the relational model have clear correspondence there's one answer.
If the sprocs do some relational work that will take a lot of OO code to emulate it's another.
Neither is there a good reason for an OR-mapper not to encapsulate sprocs!
I feel the real problem is languages that have big blind spots. (Think C# vs. T-SQL for example.) COmega looked on the surface to have a much smarter language design, though we won't (unfortunately) see all of that any time soon.
To repeat. It depends what you're doing (and how things are architected).
nhibernate... kickass...
I agree with Travis. We use LLBL Gen Pro (http://www.llblgen.com) on our site (http://www.myhomepoint.com) and it is great to leave the majority of our DAL up to the O/R mapper. Occasionally we've had to go outside of it, but he includes strongly typed methods for calling sprocs.
One of the major source of power for most ORM is that they have a great amount of flexibility in generating SQL.
SP limit you to a predetermained set of operations, often very hard to handle.
If you need do present a different view to the world than your real tables, use views.
The place where I still use SPs for even when using an O/R mapper is for triggers - especially in cases of updatable views.
After doing O/R mapping for quite some time now, I have found that updatable views are a required abstraction. On the one hand, you want to allow the DBA (sometimes myself) to reorganize or partition tables (for example horizontally) for improved performance, while on the other hand you don't want to have to redo all the mapping work. Views give you just what you need.
In my last post I pondered for how a ORM and Sprocs fitted in, for mea database that is in at least 4nf
Castle Active Record gives you access to all of the query stuff in NHibernate if you want it. So whatever features are in Hibernate, you've got them in Castle Active Record.
You can do quite a bit with AR, including joins, etc.
The framework is smart enough to know about the associations between objects and query for them effectively.
Ayende, any examples that show this ?
O/R mapping tools are becoming more popular each day and people are realizing the productivity gain they provide to developers. Yet, many people don’t know enough about O/R mapping to consider using these tools and many others are weary of using any code generators (including O/R mapping tools).
In this article, Iqbal Khan try to educate people about the various important features that a good O/R mapping tool would provide us and how it can be beneficial to us.
I've written a CodeSmith template which along with data access entities generates the sprocs for me, and have integrated this step into the VS.NEt 2003 build using Nant.
They have an excellent page describing the many ways you can map your objects to your data
http://www.castleproject.org/index.php/ActiveRecord:Mappings
http://www.codeplex.com/Wiki/View.aspx?ProjectName=actionpack
Watch the video.
Sprocs != bad
O/R Mappers can work with sprocs to generate a strongly typed result (O/R Mapping) of the sproc as well as make the sproc look more like a function in that the syntax you call the sproc is also strongly typed.
Yes,
http://www.ayende.com/Blog/2006/03/05/CasleDemoAppMidwaySummary.aspx
There are several features you can use. HasMany, BelongsTo, HasManyAndBelongTo (for many to many relationships).
I recently looked at ActiveRecords and with the options provided (ie lazy loading) you can really get what you want, when you want it.
I applaud the Castle people though I have yet to use their AR in a real world setting, we're considering it for some upcoming stuff.
you should add report file attribute:
<project>
<target name="tests">
<mbunit
report-types="Text;Html;Dox;Xml"
report-filename-format="myformat{0}{1}"
report-output-directory="put\it\there"
>
<assemblies>
<includes name="*.Tests.dll" />
</assemblies>
</mbunit>
</target>
</project>
hope that can help you
bro, the link is dead, can you tell me another link
thx
Hi Andrew,
I have used both AR and nHib, and I moved away from AR because that pattern proved more difficult to test (mock) than using nHib directly.
The reason for using AR was the abstraction and no XML files, both very bad reasons NOT to use nHib.
Although Ayende did solve the AR testability issue, nHib is much cleaner and doesnt mess with your domain model like the AR pattern does.
ASP.NET is not the problem. Web Forms is the problem. ASP.NET without Web Forms works just fine with MVC and MVP. I have never liked Web Forms... leaky abstraction, that is.
Hey,
There is a DotNetRock TV show by John Paul Boodhoo on Model View Presenter that would be worth checking out if you are just getting started.
Here's the link.
http://www.dnrtv.com/default.aspx?showID=14
Have Fun,
Tom
Send me email describing how you are building the app and I'd be happy to help.
thanks,
Scott
If you use an XmlDataSource, you should write :
MyXmlDataSource.EnableCaching = false;
Hope this will help you! :)
All you need to check is the second option (in 5536 that is) to allow any RD viewer and either make an exception in the firewall or disable it.
Worked fine after those two tweaks, thanks for the info :)
where is more the pdfs :)
Is that the right link?
Ya, don't look rite
Doh, fixed.
The thing about pushing things into "The Framework" is that it is very difficult remove them.
I would rather have a bunch of extensions than a monolith.
PingBack from http://www.mattberther.com/?p=677
For $249 USD, you can buy a full-featured treeview from Telerik or ComponentArt. Not only are they fully cross-browser friendly, but they come loaded with a bunch of other goodies - and you'll be up and running with them within minutes.
The $249 probably has a much greater return than spending your own time on it.
I don't know if yours is a real bug - it has been replied to now.
There do appear to be several bugs in the CollapsiblePanel though, judging by the number of posts on the forum.
The one I'm hitting is definitely real:
http://forums.asp.net/thread/1384934.aspx
Thanks for the head-up Karl however this kit does the job for my needs and it's a freebie.
It is worth mentioning that the cssadpters are going to break a lot of properties e.g.
http://forums.asp.net/thread/1285603.aspx
This could prevent you from using them.
Hi Andrew, I was surprised to hear Scott say this, too. However, a developer I was interviewing recently mentioned that he had tried to download and check out MbUnit after I'd mentioned it, and couldn't figure out how to download it. The relationship between MbUnit and TD.NET is confusing and it's hard to get a clear understanding of where to go to get started with MbUnit by googling it right now.
Thanks for all your work on MbUnit. We use the heck out of it with Rhino Mocks and TD.NET and love it!
Cheers,
Luke
I think instead of using TestApp.GetTitleData.result it should be TestApp.GetTitleData.lastResult
I should have also mentioned that this CSS Adapter Toolkit update fixes reported bugs/issues people had with older adapters -- so hopefully any issue you found was fixed. If not, send me mail and I can help hook you up with someone to investigate.
Thanks,
The best OR/Ms let you use sprocs where you want to and entities and collections everywhere else.
I've used LLBLGen Pro generate a DAL included storngly-typed stored procedure calls that enabled my team to start out by calling all of our legacy procs, and then deciding where to refactor to entities and collections. That was years ago, and today that project still have some procs, but they just turned out to be not productive use of anyone's time to refactor (and in one case, would not have been performant to do so).
I'm now looking at SubSonic which does everything through ASP.Net 2.0 build providers to produce the OR/M objects at build and run. This cuts down generated DAL code to ZERO (although there is a utility to generate the classes for you since you can't use build providers in medium trust by default).
Try the new beat version
I ran into this bug a few days ago. I ended up using the javascript method from this message: http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/msg/f2234ba565b8effa?dmode=source&output=gplain as a workaround.
I recently used the fix you mentioned. What I'm having trouble grasping now is how to determine which radiobutton was selected. There is no "CommandName" to set on radiobutton so you cant use itemcommand of the datalist or repeater right?
Simply loop through the controls as in the javascript function and instead of setting each radiobuttons checked state, see if it is checked or not. If you hit a control with a checked state, that is the selected control.
i.e.:
if (re.test(elm.name))
if (elm.checked)
// elm is the selected radiobutton.
it's been a long time..
However i have implemented what i consider a very flexible workflow Engine,its 100% in C#, it uses most of the artifacts defined by the YAWL languaje, so it can handle very complex scenarios. I still havent implemented some of the funcionality like Cancel Sets, and other things, but most of the control flow is done (Parallel, Sequence, AND, OR, XOR splits and joins), also there is support for Atomic and composed Tasks (Sub process). There is some work to do, but its a very decent start. i think its not ready to be open source,but if there is someone interested in the project feel free to contact me ( hugozap @ gmail ).
good luck
Hugo
Would it not be simpler to use an html control with runat=server in some sort of repeater (or build a control that does this) and take control of the html output rather than fiddle with the html's state on the client side?
I'm talking about is determining which repeater item is selected on the server side. Client side doesnt really help me unless I can do some sort of callback in the method...
Possibilities for server side...
Loop through the controls in the repeater and look for a selected radio button. Determine the repeater item from there?
Hi,
I was trying the above example, but didn't succeeded. The webservice which I have created in VB.Net is working fine(individually). But when I post any value from the flex application, it is getting submitted but returning nothing. No error message displayed. Can I have further help on this?
You've been kicked (a good thing) - Trackback from DotNetKicks.com
Too busy to comment. Here is what I'm reading... SOA/WCF/BPM/Workflow My good friend Tomas has a sample
Scott has previously mentioned MbUnit in a pod cast, that lead to this post, as such he did say and he
Now that MBUnit is getting a lot of attention, it might be time to give the documentation a little more attention. It's a little sparse and assumes a little too much prior knowledge about unit testing.
Since I can't go to a bookstore and pick up a book on MBUnit, yet, I feel the online documentation really needs to step up.
I wanted stick fighting, how dissapointing.
:)
It's HanSELman, not Hansleman.
Last night we had a reception at Trader Vics in Bellevue. To say the drinks at Trade Vics are strong,...
Mentioned the dinner before but Dave Bosthas a some more details and a picture of me and Scott :)
Where was that? San Jose?
Hi.. I have de same sample and not work, I recive the error:
HTTP Response Error
Error #2032: Error de secuencia
Some Idea ?
thx, great article
MbUnit is gaining some momentum as one of the nicest unit testing frameworks for .NET out there. I just
new site <a href=http://japan-restaurant.blogspot.com/>chilis restaurant</a>
PingBack from http://joshknowles.com/articles/2006/09/25/microsoft-web-development-summit
PingBack from http://weblogs.asp.net/rosherove/archive/2006/09/24/MbUnit-vs.-NUnit-Vs.-Team-System-Unit-Testing-_2D00_-Choosing-a-unit-test-framework.aspx
After I posted that I still recommend NUnit over MbUnit, and reading Andrew's response regarding how
Andrew, doesn't MbUnit run NUnit fixtures without recompile?
At the very least, there's non much you have to change to convert an NUnit test to an MbUnit test. Just change some using statements, right?
> a few things are different but on a whole you have the same asserts and fixtures
i'm kind of new to MbUnit and i love it. i would love to hear about these different things sir, thanks!
Have hear that the beta SP1 is very slow to install. What about. Was it fast enough
Just stopping by to say hi ;) this site rocks!
[url=http://www.western-clothing.us]western clothing[/url]
I have the same exact issue as the above.
<a href="http://-airlineticket.blogspot.com">airline ticket</a> [url=http://-airlineticket.blogspot.com]airline ticket[/url] http://-airlineticket.blogspot.com
I have also run into a few issues where I though generics would be a solution, but ended up running into this same problem.
I would love it is this became possible.
However does it cause any problems when using value types as in:
List<object> list = new List<int>();
I would need to think through the ramifications, given the way the CLR implements generics.
I want to thank everyone who came out for our first FAQ Friday devBrainPick event last week. I especially
IMHO this is called co-variance. Contravariance is the opposite:
http://blogs.msdn.com/rmbyers/archive/2005/02/16/375079.aspx
Frans, from reading that post types in generics in C# as it stands right now can be considerd invariant. Contravariance seems to be stricter on how types relate, to qoute:
it means that the subtype relationship of the generic type varies inversely with the relationship of the type parameter. Or formally, G<T> is a subtype of G<U> if and only if U is a subtype of T.
Arrays in C# are already contravariant, to qoute.
For example, since you can convert a string to an object, shouldn’t you also be able to convert a List<string> to a List<object>? After all, you can convert a string[] to an object[], why should List<T> be any different?
More formally, in C# v2.0 if T is a subtype of U, then T[] is a subtype of U[], but G<T> is not a subtype of G<U> (where G is any generic type). In type-theory terminology, we describe this behavior by saying that C# array types are “covariant” and generic types are “invariant”.
Yes it is very slow to install (at least it was for me). Dunno what's up with that, but in my case it did succeed.
<a href="http://-diet-pills-.blogspot.com">diet pills</a> [url=http://-diet-pills-.blogspot.com]diet pills[/url] http://-diet-pills-.blogspot.com
<a href="http://-ativan-.blogspot.com">ativan</a> [url=http://-ativan-.blogspot.com]ativan[/url] http://-ativan-.blogspot.com
new site <a href=http://gunsafe.blogspot.com/>gun safe</a>
Try Nemerle: http://nemerle.org/
Contains all best of many languages. Based on C#. Support functional and imperative styles. Features like: functional values, lambda expressions, variants, pattern matching, powerful macros (not с++ macros!) and more...
Now some peoples hard work on VS2005 integration for this language.
Hi ...
I want to do same thing in flex 2.0 ??
Hei! Visit my new site <a href=http://benign-mesothelioma.blogspot.com/>benign-mesothelioma</a>
Hei! Visit my new site <a href=http://peritonealmesotheliom.blogspot.com/>peritoneal mesothelioma</a>
PingBack from http://scottlaw.knot.org/blog/?p=168
Hei! Visit my new site <a href=http://medical-malpractice-overview.blogspot.com/>medical malpractice overview</a>
I am using Ajax for the first time to create my Web Application. But what I observe is, even on mouse over for any Ajax-enabled control, the entire page starts blinking. Probably, there is an Ajax Call back that occurs.
Please Help.
Hei! Visit my new site <a href=http://ivr-ivr.blogspot.com/>ivr</a>
I've done the above, and have a <mbunit> node in my nant build script which is run by ccnet (and runs the tests) but i was hoping that after doing this the summary resutls would show up on my ccnet dashboard - what else do i need to do? Here is my nant ccnet section
report-filename-format="mbunitReport"
report-output-directory="AppTests\Results"
<include name="AppTests\bin\AppTests.dll" />
I think i need to merge the XML. I will be back if i'm wrong :)
Imho, the best way to add covariance and contravariance to generics would be to add "Readonly" and "WriteOnly" to the Type arguments.
That is ReadOnlyList<Readonly T> (in which no method in ReadOnlyList can be defined as taking an object of type T as an argument, nor can any return-value, out-parameter, or exception throw a Generic Object that involves type T except as Readonly.
ReadOnly would be the way to make sure you never have the type violation of trying to insert an "Object" into a list of "strings" because we're using List<string> in a variable typed as List<Object>.
WriteOnly is the opposite, and handles the reverse concept of substitution - cases where we want to treat a List<Object> as a List<String> - sine you can insert Strings into a list of OBjects, but you can't read strings _out_ of a list of Objects.
Send me a note when MBUnit 2.3 ships and I'll post it on InfoQ. I'm the new editor at InfoQ for the .NET section.
James
It might be due to the way that .NET handles strings, too, though. Under normal conditions, I believe .NET holds onto strings (since they are immutable), and reuses them (GoF Flyweight style) if it is created again. The == operator compares the references (unless it's overloaded), so it might be that DLinq somehow messes with that default behavior causing the references to be dissimilar.
You should take a look at Deblector:
http://www.felicepollano.com/archive/2006/05/12/93.aspx
It combines Reflector with the managed debugging API and lets you step through the IL and quickly switch between the IL debugger and the language views.
I'd love to see a tool like deblector get more polish and end up an add-in for VS2005, but that's just wishful thinking right now.
I agree on the Rotor stuff - I used to single step that source when it first came out but I've not revisited it lately (time mostly) but it's a really great learning tool when combined with Stutz's book.
Thanks for the deblector link - going off to look at it now.
When comparing strings, the CLR first checks for reference equality, then for exactly one instancing being null, then for the same length, then for the same characters using the appropriate StringComparison enumerated value. Andrew, perhaps you could dig into the disassembly and look at the raw data?
Hope you bought him a cake.... :)
Mine was working - no new changes... and then it crapped out! No idea what the deal is!
Which forums do you recommend?