.Net
Als je in mijn tutorial kijkt, http://wasabi/weblogs/dennis/posts/186.aspx, dan kun je daar zien dat ik NewsGator gebruik. Ik zal er nog wat meer posten in een ander artikel. Maar die NewsGator vind ik het beste/fijnste omdat die in je Outlook integreert en je dus niet een apart tool hoeft te draaien enzo.
Waarom gooi jij nog een stuk of wat enters achter elk item wat je plaatst?! :)
ja, dat merkte ik ook, bij shift-enter gaattie wel naar de volgende regel merk ik nu, maar een enter wordt een nieuwe paragraph.....
:)
Ik denk precies hetzelfde!!! :)
Leuk en alles, maar wat is dat 0.0 t/m 5.0???
Dit is het resultaat als er als output de messagebox (summary) wordt gekozen: Method1 Median 00:00:01.0915696 Method2 Median 00:00:02.2632544 Method3 Median 00:00:01.2017280 Method4 Median 00:00:05.3276608 Het is helemaal afhankelijk van de test wat de getallen aan de zijkant voorstellen. In dit geval is het het aantal seconden.
Da's zeker geen geld zeg!
Dim x As String Dim y As Double x = CStr(Double.MinValue) If x = CStr(Double.MinValue) Then y = Double.MinValue End If
Wat is dit ? VB is voor degene die geen c# kennen. :-) nu even serieus: helaas kan ik deze manier van coderen niet gebruiken. de string die gevuld wordt met de double.MinValue is de ValueToCompare property van een CompareValidator in asp.net de property Type wordt dan op double ingesteld. een gebruiker mag simpelweg geen waarde lager dan de minvalue van een double invoeren. en daar moet een controle op zitten. bedankt
vb is een taal die gecompileerd wordt tot IL net als C# als VB een prutstaal is is C# dat ook. Maar als je de proptype gewoon op double zet..... Dan zou minvalue en maxvalue vanzelf goed moeten gaan..... of gaat dit niet
ok, via nieuwsgroepen van microsoft de oplossing: Sheila Jones <sheilavjones@btopenworld.com> had het antwoord: Because string x = double.MinValue.ToString(); rounds x to -1.79769313486232E+308, whereas the actual minimum value is -1.7976931348623157E+308. This is a bit higher, so you get the overflow error when you try to convert it back. Try using string x = double.MinValue.ToString("R"); to convert using the 'round trip' (no rounding) format instead. I hope that helps. en ja, it helps
Wat een genot om jullie (Pascal en Patrick) te zien praten over C# en VB.NET ;-) Afgezien van mijn voorkeur voor de 'clean syntax' en betere aansluiting op de OO-syntax van C# geeft die opmerking van Wellink wel blijk van enige IT-filosofie: "vb is een taal die gecompileerd wordt tot IL net als C#" Brilliant reply!
Waarom wordt ik elke keer weg gemodereerd?
Het antwoord op AL je problemen! Ook voor al je verslavingen! http://sourceforge.net/projects/nullabletypes/
Thanx voor de link. Het probleem hiermee is dat we in een SOA zitten te werken. Dus externe partijen die gebruik willen maken van de services moeten ook van deze typen op de hoogte zijn. Het is wel mogelijk deze beschikbaar te stellen maar niet echt gebruiksvriendelijk. Maar zeker een oplossing.
Lijkt er eerder op dat de UI de verkeerde data aan de business laag door geeft ;-) Ik weet niet of Dirty wel zo'n handige is want dat betekent mi dat je statefull bent. Wellicht is het aanbieden van EmptyValue... beter. (Dus EmptyValueLeeftijd ). De UI is dan verantwoordelijk voor het vullen van de business entiteit en vult of de ingevulde waarde of de EmptyValue... Maar wellicht overzie ik hey probleem domein niet helemaal...
Helemaal eens dat Dirty geen handige is. (Ook niet van plan om te implementeren.) We hebben een 'constraint object' dat een class is waarin voor ieder veld in de DB een property staat. Boven iedere property staan attributen mbt de juiste validationrules. (GreaterThan, LessThan etc.) Zodra een gebruiker op save klikt vult de businesslaag het constraint object. En roept het validatieframework aan met het gevulde constraintobject. Als data niet aan de validationrules voldoet volgt er bijvoorbeeld een exception. Het vullen van het constraintObject gaat generiek. Dus als Leeftijd niet is ingevuld zal deze overgeslagen worden. Hierdoor blijft de defaultvalue van een valuetype 0 over in het constraintobject. Nu gaat het validatieframework het constraintobject valideren. Omdat leeftijd geen null is wordt deze gewoon gevalideerd. Nu had ik met die dirty in gedachte, dat wanneer Leeftijd wordt geset de private bool LeeftijdDirty op true wordt gezet. Alleen wanneer de flag true is mag het validatieframework het veld valideren. Omdat Leeftijd nooit geset wordt, blijft de flag false en gaat het validatieframework deze ook niet valideren. Maar daarvoor moet ik teveel veranderen aan het validatieframework. Dit is volgens mij stateless omdat in 1 handeling de properties worden gezet op het constraintObject en daarna wordt deze gebruikt om te valideren. Hierna wordt deze weggegooid. Rene, is EmptyValueLeeftijd dan van hetzelfde datatype als Leeftijd ? Wil je het misschien verder uitleggen want ik begrijp niet hoe je het precies bedoeld.
Vraagje hoor, Maar ik besluit een datum in te vullen..... en halverwege hert form bedenk ik mij weer.... en maak m weer leeg....... Wat is de dirty flag dan............
Patrick, Ik heb het hier over een web applicatie. Heel het verhaal hierboven speelt zich client-side af. Dus de dirty flag veranderd pas wanneer de gebruiker een form post.
Ik zal het allemaal wel niet snappen. maar is de validatie dan niet gewoon.... indien waarde <> 0 dan > 16
Dat komt, omdat we schema's delen en niet een klas! Toch Pascal?! :)
ja ja ..... dan moet je een herkenning van je schema inbouwen. Zodat je aan de hand van het schema weet wat voor een object het is.... Zit standaard in BizTalk.
Wat moet jij nou met BizTalk? Ik dacht dat je alles zélf wilde programmeren? :)
Personally it's my opinion a .NET developer have to got a broad knowledge of Microsoft products. I do not want to become a specialist like Robert, Joris and Patrick. But I want to know enough to know when I should apply Biztalk. But also what the advantages and disadvantages are. And how I globally have to use a tool such as Biztalk, or how the integration works with .NET.
Now only if ANYONE could explain me these advantages and disadvantages to me...
The Data Access Building Block isn't official. Doesn't say you can't use it ofcourse, just wanted to let people know. Someone told me once the DotNetNuke DAL is quite good as well and I should have a look at it... Still need to do so... :)
De Rotor source code wijkt namelijk op een aantal kleine punten af, zoals die in het framework geimplementeerd is. Met name in de internals zitten hier en daar wat bugs. Ik heb ongeveer 2 jaar geleden een applicatie gekocht van RemoteSoft genaamd Salamander. Deze tool is werkelijk waar geweldig als je eens de sourcecode nader wilt bekijken. Het stelt je in staat te round trippen met de output, omdat bijvoorbeeld ook de attributes worden gedecompileerd. Ik heb tijdens het schrijven van een custom IFormatter en een aantal designers met veel plezier hiervan gebruik gemaakt, zodat ik in staat was de MS implementaties eens nader te onderzoeken. De documentatie laat het namelijk vooral op de "diepere" onderwerpen af weten.
When you're having a holiday, you have free time... When you're on vacation, you can only compete when you have your laptop with you. And I know how slow it is, so I can understand you don't take it with you to code something! ;) But anyway... as if you'd ever try to compete! :)
Hehehehe, congrats!
Congratulations. Is that the "Zeepkistenrace" that had many commercials on Dutch television? Amazing how they would give a ticket to a techie conference. Anyway, I hope to be there as well. Still not sure, though.
thanx, no it is not the zeepkisten race from television. At our business unit i had the opportunity to hold a presentation why i want to go to the teched. Not only arguments counted but also humor and entertainment. All available people were the jury (35). The one who had the noisiest applaus wins. there were only 2 participants :-)
So after the presentation, the argument, the humor and the entertainment, you had to applaus really hard? And you won because you were the loudest? ;)
Well, congratulations Pascal. Well done. I did the best I could but I couldn't beat your lollypops.
Congrats, won't be there myself though
I congratulated you yesterday, but don't forget who cheered so loud. :)
Nice... Maybe you want to check out the O/R Mapping BOF from Frans Bouma. It's scheduled on Wednesday at 14:45 'till 16:00. The code is BOF003. Room numbers for BOF sessions aren't in yet. Man, do I wish I signed up for TechEd!
Damn the goeroe himself....... can anyone tape this one!
wasn't this for order as well?
Whow a new all time record: 595 MB downloaded in 12 minutes
Great! Thanks!
This is a great tool with makes working with two computers at the same time much more convenient ...
When you just run XP machines, you might want to use Remote Desktop. You then also see the remote desktop on your monitor :-)
Nice, let us know as soon as you had a chance to look at it. I'm getting sick of VSS...
Too bad I can't leave Star Wars Galaxies alone, or I would try it myself. Guess I'll have to wait untill I'm idle again or have a project where I have to use it! LOL!
<a href=http://quallity-hardman-se.da.ru>man hard</a>
<a href=http://japan-orgycartoont.da.ru>tit big</a>
<a href=http://69hairy-jerk-menstr.da.ru>hairy 69</a>
Well.... what about VPN over 443.. Then when you are connected with the VPN server you can just access your LAN computers just like you normaly would and no weird port changes for applications are necessary. You can even access your documents with a normal UNC path.. By the way.. I have seen LOTS of companies that won't allow 443 access. Most of them use a whitelist with endpoints that are marked as safe like banks. Most websites that use SSL for authentication won't work :(. Because this kind of traffic cannot be monitored/filtered it is not allowed. If the companies policy won't allow this then just accept it, be a professional. Then just use the companies phoneline to dail-in to your server :-) A much better option would be to not alter any ports at all. Just get along with your firewall admin and convince him/them that you just want to access your server and are responsible enough to don't do any weird things and that your virusscanners are up-to-date and homesecurity is above the companies level ;) and let them make a hole so you can only access YOUR server for it's VPN port.
> what about VPN over 443 i didnt know this was possible. and now i know, i should not know how. please tell me in detail how to make this work. > Then just use the companies phoneline to dail-in to your server eh the customer where i'm located right now uses ip telefhone ? Won't work... > Just get along with your firewall admin and convince him/them that you just want > to access your server whahahahahaha, please wait with the next joke. I'm falling of my chair.
@Pascal: To be honest I did not test this. But I do not see any reason why it should not work. First of all you must have a NAT client (private ip) or a direct internet connection (public ip). I assume the following: a. THe client is XP b. The VPN server is Windows 200x with Routing and Remote Access enabled. 1. Use the build in portproxy in XP to map a local port to the port listening for PPTP on the server. For example map localhost:1723 to your.server.com:443 . Start cmd and run netsh portproxy for help. 2. Configurure the basic firewall within Routing and Remote. Open a port and direct traffic that comes in at your public server is port 443 to your private server ip at 1723. This way the client VPN application does not need any weird reconfiguration and virtually connects locally and the same for the server. voip is shit if you want to dailout :).. if I really need to check mail I connect to my ISP through GPRS with a bluetooth sync between my notebook and my mobile. I was not joking :) ofcourse there are assholes. But once in a while there are cool admins. As I said.. they will not (i hope!) allow access to the whole internet. Just your server on one port. Not a big deal. Your both adults and both professionals. What ofcourse would be the most *coolest* thing the admin could do is to allow protocol (i think) 14 traffic which is ipv6.. Not at single system I know of in a business LAN (where I ever been) is configured for ipv6. So enabling this is not a security risk at all for computers in the network. And you can do almost anything you want if your server is also on the 6bone. So you could do a ipv6 tunnel over ipv4. Setup an VPN tunnel over your ipv6 tunnel. Do ipv4 over the VPN tunnel to access the whole internet behind your home NAT. But.. not at work times ofcourse, your a pro.... hahahaha If I ever start my company I will create a white and black network. The black network will contain some WiFI AP's with a direct ADSL NAT internet connection without any restrictions. If the 8mbps is to low for A LOT of people that only requiring personal email checking and monitoring some apps at home then the solution is probably abbused for leeching.. and I won't give a shit :)
Thanks for sharing it with us in a complete blog post! Well, at least it's not a simple link, but also the statement you're installing it. ;)
<a href=http://www.plumpers-fat-bbw.com/bbw-s/00221a/fatlesbos-0100.html>adult galleries</a>
<a href=http://www.pornsitesindex.com/galleries/hardcore/boobs/tittypenetration024.html>free adult</a>
<a href=http://anime.elitecities.com/hardd/gal2/gallery037.html>galleries free</a>
Because no trackbacks are possible http://blog.viergang.net/index.php?blog=10&title=access_through_port_443&more=1&c=1&tb=1&pb=1
Pascal, Nice discussion indeed. And looooooooooooooooooooong! But regarding our current workplace: do you see this kind of technology/apps (ORM) being used in our projects? In relation to this topic: does anyone know what the status on ObjectSpaces is?
Objectspaces will be merged with WinFS, because of that it will be available together with LongHorn in 2006-2007. Till than Paul Wilson has developed an .NET 1.1 version that works like objectspaces (http://www.wilsondotnet.com/)
<sarcasm> Ernst, OR mappers are probably too difficult for people like us, so we use DataSets all the time. </sarcasm>
Thanks for reminding us! ;) But he definitly has a point.
Pascal, Thankx for this good post!
Who doesn't :)
"done several hands on laps".... Sounds kinky ;-)
ok, hahaha, corrected. It was kinky indeed ;-)
Unfortunately there isn’t nearly enough .NET Rocks material to cover all traffic jams in the Netherlands.
LOL @ Paul But at least it's a relief for the next two days! :D
Have a look at exslt.net, a XML MVP project that provides a pretty complete set of additional functions for use in XSLT programming.
I ran into similar problems: 1. Don't install MDAC or you can never uninstall it 2. Don't install J# or it will cause cabinet file corrupt messages. 3. Install the .NET Framework separately from the Setup folder If you're control panel has J# appearing as partially installed in the ARP (Add/Remove Programs applet), then it won't uninstall unless... 1. Launch the Setup from the CD and wait until the first install panel appears. 2. Then open the control panel and uninstall the J# Redistributable Unfortunately, the install won't let you NOT INSTALL J# if you selected it during the initial failed install. Try installing it from the JVREDIST.EXE just to keep the main install from doing anything with it. Whew -- ok now it just needs to install Visual Studio 2005 Beta...and with my luck...it still doesn't install...something with the Runtime Libraries (.NET Framework Tools?) I'm going to try to install it without any features to see if the install will complete at all. What a bunch of crap from Microsoft.
Logging with log4netooeess
VS.NET 2005 Phases to RTMooeess
Problems with installing VS.NET 2005 Beta 2ooeess
.NET 2.0 Beta 2 -
Whitepaper about System.Transactions in .NET 2.0 by Juval Lowyooeess
Windows Media Player like UI with Shaped Windows Forms Controls ooeess
Grouperooeess
Enjoy traffic jams with .NET Rocksooeess
Microsoft Ascend Programooeess
I just love VB ;-)ooeess
Interesting posts about SOAooeess
Programming contest @ eggheadcafeooeess
Discusssion: Which .NET ORM is bestooeess
Right now: installing CTP October SQL Server 2005
Well. Because the update function (sometimes) does not work on bloggingabout.net Update: Actually there are 2 possibilities to attend the PDC for free: You can win the contest or you can blog yourself to the PDC Read all about it here http://channel9.msdn.com/pdc/
FINALLY!!! They've been talking about this since TechEd 04! And I've been waiting as long.
After a quick read, I notice at the bottom some recommendations - Use ASMX wherever possible - Use ASMX for Web services - Choose Web services for scalability - Use Enterprise Services only inside your services - Avoid passing DataSets between services Now, I read - Use webservices - Don't use DataSets I think this (unfortunatly still) means a total shift for a lot of people! :)
Passing Datasets as parameters isn't really message oriented so this fails almost immediately when you choose for webservices. B.t.w. it should read.. use soap, don't use datasets. You will really have to refactor alot when you want to migrate van asmx to soap which is transport neutral.
You should not read the guidance as "use web services", but really as "use ASMX". Your ASMX code will migrate cleanly to Indigo (aka WCF) with just a few namespace and attribute changes. Indigo uses the SOAP processing model in a transport independent way and does not rely on HTTP. You could switch to the much speedier (but proprietary) TCP protocol by just changing your Indigo configuration. Don't expose DataSets from your service interface when you care for interoperability. The biggest problem is not that DataSets are not message oriented, but that they are just a royal pain in the ass to deserialize in a non .NET client.
You're right, webservices doesn't say asmx.
Don't know if you guys use it, but Rockford Lhotka's CSLA .NET Framework uses remoting wrapped in Enterprise Services. We tried it and it was dog slow! So we binned it in preference for a CSLA-rich platform ocmmunicating with a web service with a similar set of CSLA-based DLL's. It's faster, but does require a "double deployment" if a Business object changes.
Don't forget to read the excellent LINQ overview whitepaper (by Heljsberg and Box) referenced in this blog entry http://blogs.msdn.com/scottwil/archive/2005/09/13/465239.aspx. It gives a lot of the rational behind LINQ.
Pascal, Where did you read that Edit & Continue will not work with Windows x64 in the final release of Visual Studio 2005? Please provide a link. Thanks! Nate
Ok, I found the following two items that confirm what you said about Edit & Continue. For me the question is: Can you use Edit & Continue on Whibdey if you are writing a 32 bit app but your dev platform is Windows x64? http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/2005062364bitls/manifest.xml http://msdn.microsoft.com/msdntv/transcripts/2005062364bitLSTranscript.aspx
Pascal&nbsp;writes about the joy of x64 Windows XP, and some drawbacks.&nbsp; One drawback is no Edit...
Kaf van het koren scheiden, that's what I think! :)
Hi, After listening to a fraction of the interview, I can only say that this woman seems to have nothing in common with software development, but is more like a human resource specialist and heavily bases her declarations on what others say rather then what others say and she knows. Her speach is very CNN like, very general, without any specific targets. I am sick of this kind of "spcialists". Why are these people paid? Have you seen Michael Moore's "Bowling for columbine", where he shows a douzen of specialists explainingerican schools? Have you seen the hundreds of specialists that "analysed" the 11/9 events. She is just in this "tabloid" experts line.
Congratulations on winning second place!
Guys.... very good, but next year MS should be number one. Btw i am very curious what you guys used MyGeneration for ?
We used MyGeneration with 3 templates, (we could only use 2 templates in the race) We used a NHibernate template (http://www.mygenerationsoftware.com/TemplateLibrary/Archive/?guid=1b04fa85-da91-4b42-9e39-58ef31dcb8ec ) but soon there were shortcomings. The most important thing we added is nullable types. We made the plumbing to connect Windows forms and ASP.NET 2.0 object datasources to the Domain Model generated with this plumbing. Finally we made custom templates in MyGeneration to generate CRUD screens for ASP.NET 2.0 & Windows Forms. We can generate ASP.NET for 100% and generate Windows forms for at least 80% (the only manual thing needed here was to drag the controls from the datasource window to the screen, we even generated the xml for the datasource so we immediately had the correct control to bind to)
Pascal & Fijsjan, congrats to both! Question, if you had to build a webapp, can Oracle people do that as well?!?!?! I thought they could only build winform apps. And if so, why did you not build a winform app?! :) Regards, Dennis
good job! Congratulations man:)
...Well, eventually winforms will be replaced by Windows Presentation Foundation (Avalon). We all knew this day would come.
Actually, this is a good example to how to write the extender provider in webform (ASP 2.0). But I have a big problem to modify your code. When I change the “ValidationEnabled” Boolean type to Custom data type class which can’t serialize inside the asp form. For example: My custom data class type has a two string field (Expression, ErrorMessage).
I solved the problem yet. I need to add some codes for below.
ValidationProvider.cs
private LabelNamingProperties EnsureControlItem(Control control)
{
if (control == null)
throw new ArgumentNullException("control");
}
LabelNamingProperties item;
if (this.TargetProperties.Contains(control.ID))
item = this.TargetProperties[control.ID];
else
item = new LabelNamingProperties();
item.ControlId = control.ID;
this.TargetProperties.Add(item);
----------->--> NotifyDesignerOfChange();
return item;
ValidationProperties.cs
namespace Naber.Web.UI.Controls
[NotifyParentProperty(true)]
[Bindable(true),
DesignerSerializationVisibility(DesignerSerializationVisibility.Content),
PersistenceMode(PersistenceMode.InnerProperty)]
public class ValidationProperties : TargetControlProperties
public CustomType ValidationEnabled
get
………
set
Pascal,
On https://connect.microsoft.com you can now participate to the Virtual PC 2007 Beta Program. Here you can download the latest Virtual PC 2007 Beta (64-bit). Good luck.
By the way. Thnx for joining Class-A
keep up the good work
I have the same problem... and it isn't working, even with your solution.
I've found another reference in the .svcinfo file (in the same folder of reference.cs) and changed it too.
But it didn't work either.
Have you any other idea?
My namespace is like plat.wkf.worf_name.ws_name.
Regards.
Hi Naber,
You didn't moderate my last comment yet, but I've faced another problem that gives me the same message. The app.config and its derived workflow1.dll.config aren't been read by the workflow.
I've isolated this problem in a local example (simple dll) and I get the same result.
So, how did you get the app.config endpoints been read at runtime?
Is there any pitfall in the VS IDE?
Rodrigo
Thanks for this great workaround. Otherwise it would have cost me a lot of time to find a solution. Especially to link the ServiceContractAttribute to this 'triangle'...
Thanks for this great workaround. Otherwise it would have cost me a lot of time to find a solution. Especially to link the ServiceContractAttribute to this namespace triangle...
I've been looking for this, thanks for posting it.
also seem good
www.codeplex.com/AvalonDock
(but haven't tried yet)
Hi, Pascal,
Nice job. This is very helpful. The ppt for the 4 keynotes are not available from PDC? I guess PDC doesn't make them public. If you can find them somewhere, please include them onto your ppt list.
Thanks.
Can you please explain that where replace method exist
The replace method exists on the XpathExtension class. xPathExtension is an instance of this class.
Hope this helps.
AvalonDock is only for WPF
Service Pack 2 para Windows Vista y Windows 2008 disponible públicamente : Versión 32 bits y versión
Some more facts about WF 4.0. Part 1 can be found here There is no rule engine anymore! Workflows have
I have the same problem. Changing it in all the 3 places mentioned above has not solved it. Any other suggestions please.
Great list of changes to come! Great to know what things to watch out for in current architecture, such as rules not being run from files anymore and conditions being specified in VB etc.
Great work!
hei... your blog is very interesting, thank you