PingBack from http://www.dancin.co.uk/2006/08/26/binding-net-datasets-in-java/
Johan Danforth on How to delete a TFS Build Type. Paul Cornell on Visual Studio 2005 SDK Documentation...
In my experience most architects and designers wants to use UML As Sketch . The UML stencils in Visio
Johan Danforth on [Team System] Displaying Document Folders in the Quick Launch Bar. Cameron Skinner...
Johan
Thanks for the concise explanation of CC.NET setup, its quite useful!
-Adnan
Hi Johan, many thanks for the guide. I was toying with the idea of using CruiseControl.NET and I no longer have an excuses now! Cheers!
i m stii facing same problem
I am getting error Unable to load DLL (oci.dll).
I have done above changes also.
i have reinstalled oracle 9i n win2000 also.
but stil i m facing same problem
plz help me out.my email-------
kalp_10@yahoo.com
Wonderful and informative web site.I used information from that site its great.
My Catalogue site of Biker jacket leather
http://solisearch.net/bloghoster/?u=siniy
Really excellent, does exactly what I want.
thanks.
You are not alone with crashing Automatic Update.
Vista is going in tonight... Not expecting that to be less buggy though... :)
i m also facing the same problem. and not getting the folder option in control panel in my system. I m using windows Xp
Man... are there really people out there that use devenv.exe to build their project on an integration server?
Rule 1: never install Visual Studio on a build server!
LOL! Look at the prereqs for setting up a build server with Team System! You MUST install VS.NET on it! Heh... perhaps fixed with the Service Pack for Team System, but I haven't checked it out yet.
But with CCNET I think it happens if you don't have a dedicated build server...
hi johan,
great article. i've added a link to it from the ccnet msbuild page:
http://confluence.public.thoughtworks.org/display/CCNET/Using+CruiseControl.NET+with+MSBuild
cheers,
owen
i have the same problem unable to load oci.dll
and want someone to anser it,i have winxp sp2
i have same problem about unable to load oci.dll please imitely reply my mail and my o.s is win2k server
Hi!
Great work guys. Very nicely done. Keep it up!
Hi Johan Danforth ,
U said that
Not sure exactly what you want to do, but if you want to use wss4j, you MUST use a callback class. Another way of doing it without using wss4j is to manually construct the SOAP request (XML) so that it contains the correct wsse headers for a UserName Token.
Could u please give me the detailed information to construct the SOAP request (XML).
Thanks in advance,
Kiran.
Very useful. solved our problem.
Perhaps I have missed something here, but this article seems to overlap the functionality of .NET resources. Using local resource strings, you are able to display text dependent on the user's locale.
For example, in a recent project I was able to use resources to vary the welcome text displayed to a user. Furthemore, because the resource files are XML files I was able to use XPath queries to transform the data into a format that could easily be displayed in a gridview. The gridview was editable for administrators and any changes made would be saved to the XML file and would be effective immediately.
Thanx alot Johan, this guide was exactly what I was looking for! :D
Excellent article - lots of good details. Here's another article that might assist your readers as well: <a href="http://www.codeproject.com/useritems/ContinuousIntegration.asp"> Continuous Integration using CruiseControl.NET, NANT, CVS, and NUnit</a>
hi,
this tutorial gives us information only to use username token of wss4j but not giving any idea about how to encrypt different elements of SOAP message and sign them .
if anyone can help ,please send me info on my mail account
amit_vyas_1981@yahoo.co.in
thanks in advance
amit
check if you have errors in the configuration file (for example App.config). Errors in this files cause this error message.
Yeah, you totally get it Johan. You're right, by "message" I did mean lightweight messaging services like a message transformation service, an exception management service, or a monitoring service. I definitely consider BTS and long-running services to be activity/process. I can't make any promises, but we are trying to dabble in that space a little this year. Stay tuned :) BTW, nice post!
Johan Danforth article on CI
What a fantasic post! - i have read many posts on raising events in user controls and this is by far the best yet!
Thanks!!! - you have saved me hours.
Cruise Control with Visual Studio 2005
Pingback from Chris’ Train of Thought » Blog Archive » Oplossing ‘numeric constant overflow’ in Script#
I haven't looked into the details of what is comming for
It will take some real effort to get developers to switch because it will take a lot of effort to get to the level of functionality of CC.Net.
I've been using MsBuild rather than nAnt, but CC.Net is still what brings it all together.
Pingback from Dream of a journey» Blog Archive » Creating specific sized image thumbnail
Open the properties for the stored proc in the Linq to SQL designer. Change the ReturnType to the entity model you want.
Pingback from TV » Resources for Developing Media Center Apps on Vista
Best wishes developing for Windows Media Center -- it's a bit 'different' from work on the ZX spectrum. :-)
这不一教学示例,但是可以共享我学习中使用简单Axis Handler(有点类似于ASP.NET soap扩展).我写2个程序——一个基于java控制台程序样式的简单Web service客户端和一个Web service。在这个客户端中调用Web service的方法Test(),调用同时添加了一个包含一个用户名和密码的SOAP header。这个Web service拥有一个简单的Handler,在部署描述符中定义为一个request Handler, 检查每个请求并且保证用户名和密码正确地存在于SOAP
Pingback from i must be an acrobat » MSSU Follow Up
Great post! I was not following the whole MVC thing, this post summed it up perfectly. Thank you.
It is final! After almost nine months of hard work the version 3 of the Patterns&Practices Service
Pingback from [Orcas] Extension Methods
Pingback from [VS2008] CTP1 of XML Schema Designer for VS2008 Announced
OK and I have got it installed.
But where is the XML Schema designer that was reported in your previous blog "CTP1 of XML Schema Designer for VS2008 Announced"?
I did not get a chance to play with CTP but I cannot find the designer in my VS2008 VSTS release version.
Thanks.
Robert
According to Lifeng Lu (a Microsoft guy):
"The original schema designer in VS has been removed from the product. There will be a new schema designer, but it will ship in off-cycle release after the Orcas is shipped. Currently, you have to use VS2005 to edit the schema file, or use the Xml Editor, which looks like a text editor, but does provide intellisense and schema validation."
Pingback from Ellis Web » Detecting Application Idle State in Windows Forms
Pingback from Unable to load DLL (oci.dll) « Be Your Self
See the irony, googling for MS things..:)
Lol, Googling sounds better than "live searching", doesn't it ;)
Thanks for the pointer. I installed SharedView and it looks very nice, especially the preview feature.
From what I read on their forums, there will be a free version after release.
You've been kicked (a good thing) - Trackback from DotNetKicks.com
Just this morning I was looking for a good screen capture software to aid in reporting bugs. I found zscreen, another c# open source software, before I got to this post in my ".NET Developers Blog"-feed. But after testing cropper I found that zscreen had a less intrusive workflow which is good for lowering the treshold on getting testers to document bugs properly. Pretty much "hotkey" -> "draw rectangle" -> done. It can upload the screenshot taken to ftp and then copy an url to clipboard. I had to do some minor tinkering to save to a network-path and still copy an url to clipboard (misusing the ftp-settings) but the source was so neat it was no hassle.
www.brandonz.net/.../zscreen
I've been using Greenshot. Fast, flexible and no installation. sourceforge.net/.../greenshot
cropper is one my my required dev setup apps. great for grabbing shots of pieces of code or parts of an app for business to look at.
The project I am onis using an Oracle database as the data store.2 of the fields that we are storing
Pingback from Halo 3 News Aggregator » Track Your Halo 3 Progress on Internet
Newer consoles (Elite for example) are a LOT quieter - but yes cost more.
Mine truly roars but am used to it now.
Sigh!
Maybe the next console iteration will be "just right" like Vista was supposed to be!
One of the levels dosent work anymore!
Pingback from A .NET Guy Looking at Some Ruby « Rams On It - .NET
Pingback from Bee Eee Inventions, LLC Blog » Blog Archive » c# getting rid of the jitter!
Pingback from friend » Blog Archive » A .NET Guy Looking at Some Ruby
This is me continuing scribbling down notes as I go along relearning lost Ruby skills and at the same
I noticed the same thing, posted on my blog and Digg. Apparently the IRC channel reports that they are aware of the problem and looking into it (i.e. calling lawyers).
It looks like their domain actually expired and a squatter snagged it.
I didn't quite get the property accessor part...
I got stuck at the poem part; it wouldn't go to the next step...
Seems to be back, but why do they have the videos in .mov format only? Do I really have to install Apple spamware to see that? If a site has only .wmv files everybody screams about this although 80% of people have the player on their system. It's their choice I guess, but too bad.
Your statement about converting to string is not altogether correct:
puts "The sum is " + sum.to_s
could be: puts "The sum is #{sum}"
which is very similar to: Console.WriteLine("The sum is {0}", sum);
IMHO the second ruby syntax is much cleaner than any form of string concatenation in either langage. This syntax is also available in Perl and others.
Jho, you're absolutely right. Maybe I'll update the blog post.
So did you replace the fan and find out if the urban legend was true? Just curious.
Lol, no I did not. I thought I was going to buy an Elite anyway because the Xbox was starting to go RROD (whole screen froze up with graphic glitches, red lights on the power button...) on me and as it is more than 2 years old I would have to pay for the repair. But the Swedish Xbox support had problems with their support system (!) and couldn't handle my repair request for 3 days so I got mad, dropped the Xbox from a height of 5 cm or so, and it works like a charm after that. Who said violence doesn't solve problems? (j/k)
I actually think it even runs a bit more quiet now, but I can't prove it :p Maybe it's afraid of being thrown out the window...
Don't bother upgrading in my opinion - I have an Elite and it's hideously noisy, can't watch TV from Vista desktop as the fan noise builds to a crescendo in about 10 minutes as the console heats and oblitorates all but the loudest of volume settings.
I resorted to watching media via an old softmodded xbox running XBMC (can't get full 1080P though) - seems a bit daft that the older device is more useable...
Pingback from RROD - Our Xbox 360 Finally Gave Up
I have recently been responsible for refactoring the Code Query Language query editor in NDepend to fix
Thanks for posting these links, I'm going through the same WPF learning curve, so I am absorbing all the good articles and books I can find..
WPF is really compelling stuff, I'm having a blast so far.
Pingback from carnewsservice.info » More on RESTful Service with WCF and POX/POCO
How about REST WCF bits from .NET 3.5 SP1? Is it possible now to let the user decide in which format he wants the response (xml or json) like MySpace API for example?
The convention is to use a file like extension at the end of the resource to specify data return type (.xml or .json)
api.myspace.com/.../details.xml
api.myspace.com/.../details.json
Thanks for the kind words regarding ReSharper. We're happy to be part of your toolbelt:-)
Keep up the good work.
Regards,
-Britt King
JetBrains
Bra post.
Pingback from The tools « Jan-Erik ??hman’s Weblog
from the title..............
"Because we are tired"
:)
ROFLMAO :)
Someone commented on an earlier blog post I did on REST, POX/POJO and WCF and the comment read: How about
I think this is much more easy with jQuery.
Try this:
$('select.postback').change(function () {
var form = $(this).parents('form');
form.submit();
});
This attaches postback behavior to all select that have postback css class defined on them.
Cheers!
You rock!!! Thanks for the article, it helped me get started with a similiar service.
Thankfully I am not the only one with Facebook/Chrome difficulties.
Knowing, how the Google team normally respond to these kind of issues it should be fixed really soon.
I thought I was the only one having problem in surfing facebook with Chrome...
Do you think an update will be available soon.
Pingback from Chrome is shiny! | WildWebWeaving
I have same problems with Facebook/Chrome
all javva and flash content just dont work right...
I hope that google team r fixing this soon beacuse im allready a fan of Chrome
exactly the same, not working right with facebook... but is very a nice browser for everything else
Same issue as everyone else with Facebook and also doesnt work totally right with my internet banking for some reason. You would have thought someone would have tested it on Facebook given it's one fo the most popular sites around.
Same problem here, can't use almost any button, waiting for the new version or patch.
Yeah when clicking through photos it keeps going back to the first picture, it's very annoying.
I find it funny that it sometimes isn't working with Gmail either... oops!
There's a problem with Chrome and Ajax in this browser.. It seems to give up on Facebook when trying to load the next photo and just jumps back to the previous page.
Oops!
A patch should be available soon no doubt.
Well, they did talk about the fact that most of their testing methods are automatic and that they've done less testing with sites requiring authentication.
Still nice to know the problem affects everyone.
Although, it's already been a few days...
it has been fixed!!!
@JONI - Sure it has... unfortunately not (yet). But I'll write a blog post as soon as there's a new version of Chrome that seems to work well on the websites I use regularly. Cheers!
I just updated my primer/tutorial/walkthrough on CruiseControl.NET with some information about how to
I cant get it to work properly with neither Facebook, Netbanking or many flash-plugins (including those on Facebook).
Johan,
If you don't mind products that work out of the box, you might want to look at our Parabuild www.viewtier.com/.../parabuild.htm. It shows MSBuild logs fine without requiring additional changes.
This video seems to be making its way through the blogsphere. I recently added it to my blog as well. It is funny.
I have seen a lot of improvements in preview 5 that might come in handy.. I just hope that the Html helper is accessible on the controller, 'cuz I really want to do partial rendering without writing <%Html.... on my aspx pages. It would also be easier to access using jquey. Just a thought but I think a lot of MVC fanatics also has also the same needs that I have. But still, a great work on preview 5, applause for the MVC team..
Apparently Windows Live had hardware problems. Mary-Jo wrote about it at blogs.zdnet.com/microsoft
... and yet here we sit a month later and no ajax fixes
i downloaded and installed it but cant figure how to use it?
WSCF.blue:TheWSCFtoolforWCFnowonCodePlex
hiya, i tried this with the asp.net mvc release 4 and keep getting:
The best overloaded method match for 'System.Web.Mvc.HtmlHelper.DropDownList(string, string, System.Web.Mvc.SelectList, object)' has some invalid arguments
any ideas?
<%= Html.DropDownList("myoptions", ViewData["myoptionsobject"], new { onchange = "checkOptions()" }) %>
I uninstalled the add-ins, received the message and ignored it. My network health returned to "good," and hasn't become an issue since.
I have 512 MB; won't likely upgrade until I have the time, money -- and guts.
sorted...
<%= Html.DropDownList("myoptions", "myoptionsobject", new { onchange = "checkOptions()" }) %>
everytime a msg on the facebook chat aomes in.. chrome automatically downloads the 'ping' sound.. its driving me crazy
Just remove the add-ins from software/add-ins and they won't show up as ready to install "risks".
It may have to do with them liking myspace better than facebook... :) Seriously though, brining out a browser that doesn't work with facebook is pretty bad, if I were google I'd be ashamed of myself.
I have now ditched chrome as these problems are now beyond annoying.
fast... check
doesn't work on facebook still... check
Oh snap. Any updates Googlers? did the code branch get lost on the secret squirrel CVS? I'll check Area 51
Pingback from Returning Json from RESTful Interface with WCF « vincenthome’s Software Development
Pingback from Remote Development, Deployment, and Remote Debugging your first SharePoint 2007 Program « Stuff I geek with
I have recently used the combination WCF, NHibernate and Unity (amongst other EntLib components) and it works very well. But keep a few thing in mind: Any ORM (so also NHibernate) has it limits in retrieving large amounts of data. So you'll need to check if the situation you describe can handle it well enough (In most applications it ain't a problem).
Unity is easy to set up in the web.config through the EntLib configuration, it worked very well for us.
Bare in mind that NHibernate.Linq is still in development, I wouldn't suggest you to use it yet for production environments. If you are 'allergic' to the XML mappings (I wouldn't know why though), have a look at ActiveRecord, it gives you attribute based NHibernate mappings. I would prefer that to any other form of code mappings (But that's like your XML thing a personal preference ;)).
This blog post is to continue on the one I wrote a few days ago about a new architecture for a WCF project
Remoting entities is generally a bad idea (remember EJB?). Entities should not cross context boundaries (i.e. web services, remoting, etc).
You can also turn off lazy-loading. But again, all these are smells pointed towards the larger problem which is "remoting entities across context boundaries."
I strongly urge you NOT to do this as this is only the tip of the iceberg of problems you will face with this approach.
I can also pretty much guarantee you that moving to EF is NOT going to make your problems any easier (quite the contrary).
I have to agree with Chad. It seems you have a design problem somewhere rather than an NH problem.
I use NH in WCF with a fair degree of ease. Set this as your data contract surrogate. Just left/inner join in relations that you want to send across the pipe.
public class NhDataContractSurrogate : IDataContractSurrogate {
#region IDataContractSurrogate Members
public object GetObjectToSerialize(object obj, Type targetType) {
INHibernateProxy proxy = obj as INHibernateProxy;
if (proxy != null) {
ILazyInitializer li = proxy.HibernateLazyInitializer;
obj = (li.IsUninitialized ? null : li.GetImplementation());
}
return obj;
public object GetCustomDataToExport(Type clrType, Type dataContractType) {
return null;
public object GetCustomDataToExport(MemberInfo memberInfo, Type dataContractType) {
public Type GetDataContractType(Type type) {
return type;
public object GetDeserializedObject(object obj, Type targetType) {
public void GetKnownCustomDataTypes(Collection<Type> customDataTypes) {
public Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData) {
public CodeTypeDeclaration ProcessImportedType(CodeTypeDeclaration typeDeclaration, CodeCompileUnit compileUnit) {
return typeDeclaration;
#endregion
@Chad - Yes, I do remember EJB, but I'm not doing remoting here. This is stateless and I usually map internal entities to data contracts that go on the wire. I'm just trying things out here and thought that just maybe I could use NH's great mapping features to create entities that *could* go on the wire when dealing with simpler services.
I tried to turn off lazy loading, but it seems that I ran into an issue/fault in the latest NHibernate Fluent release according to people on the Google group for Fluent. So typical me.
Would be interesting to hear why EF would make things harder for me.
@Allan - Thanks for the tip on using IDataContractSurrogat. I'll look at it! I saw some people using NetDataContractSerializer, but that's not an option for me.
NHibernate's ORM mapping shouldn't be used in the message that you use for wire transfers. You should build your messages with the data from NHibernate's serialization classes that you've created.
NHibernate's sessions are lightweight and you should create and release in as short statements as possible (smallest possible transactions). A lot of developers use some kind of unit of work pattern.
Only thing to care about is that you should just create the factory once.
@Ramon - As I wrote to Chad, we're normally not/never exposing internal entities from a service on the wire like this, this was something we did now when trying out NH with WCF.
What we will do next is to set up a proper solution for a Unit of Work were the session is opened and closed and map NH entities to WCF data contracts to be sent on the wire.
Thanks for the concerns about the creation of the factory. We're using Unity as our container and the factory is created only once as a singleton and that part seems to work just fine. Just have to figure out the best possible way to create and close the session :)
i'm having a problem actually buying apps, i can log in and everything but even though i have over 30 dollars in gift cards on my account it refuses to let me buy apps. i can buy music and get the free apps, i just cant buy apps. its really retarded.
Pingback from Gearing up WCF services to be RESTful « {Programming} & Life
Pingback from Missing WPF Window template | keyongtech
I've been blogging a few times now about using Unity with WCF, but how do you integration test your service
Thank you for submitting this cool story - Trackback from DotNetShoutout
Could you invite me to Spotify? =D
I've actually seen the same problem on 3 machines now, and one of them was a Mac. It works eventually so what the heck :)
Didn't you love the days back when you could just open up the properties tab for your DropDownList
I keep installing programs on my new Dell m4400 running Windows 7 (build 7000). Unfortunately the “Easy
Hey Johan-
Jeff here with the Windows Outreach Team. Thanks for taking the plunge and being a Beta tester. Your input is much appreciated.
I saw you were looking for “spyware” protection; here is a list of security providers that have put out Windows 7 compatible versions of their software. Most have free trials if you are interested. www.microsoft.com/.../windows-7.aspx
Cheers,
Jeff
Windows Outreach Team
Thanks Jeff. The "spyware" I was thinking off was more the kind of services that companies like Adobe and HP install on your machine together with readers and printer software. Services I'm not interested in having popup in my face at all, less sucking cycles off my CPU :)
Ah yes good ol’ bloatware. Good luck eliminating it and with Windows 7.
Best,
Hi,
My name is Ron, and I’m part of the Windows Outreach Team.
I like that you’re basically writing a log of your Windows 7 experience. I think it’d be cool to go back and look at all the users’ experiences with the Beta in order to maybe look at how the entire OS Beta programs will work in the future.
Just wanted to also drop this link to the Windows 7 team blog off for you, might help in keeping up with changes and whatnot: windowsteamblog.com/.../default.aspx
Feel free to reach out if you have any questions as well.
Ron
I have the same problem. I reinstalled Windows 7, and didn't have the problem for a week, but then it came back when I was copying a bunch of files from another computer, seems to happen almost any time I copy from a network location, more often if I'm copying more than one file. It is so annoying.
I love 7 and plan to buy it, but I'll have to download it and run it unactivated before I take a chance and pay for it, since there's no other way to make sure it won't keep happening on my system. i hope someone finds a fix for this.
Trying to run a WCF service in Cassini on your Windows 7 Beta (7000) machine and get this error? The
Can you give more examples of situations where you want to do this? This one was trivial, and I don't see it extrapolated to real situations too easily.
For this simple example, we can simply use reflection to check and print the class name of the type.
One other thing you can consider doing is simply casting it to the type you want, and then catching the casting exception. This is much faster than using reflection.
However, I do appreciate the very robust lambda expressions you have here, and can see their power. Thanks for that!
Pingback from ASP.NET MVC Archived Blog Posts, Page 1
I'm having similar problems with W7, all my USB drives (iPod, kindle, backup HD) hang Explorer and fail to read anything. Big problem.
I have similar issues - copying from an mp3 player (which doubles as a usb drive) hangs repeatedly after about 2 or 3 files -removing the drive from usb kills the hanging process but then i cant empty a 2gb mp3 collection 2 files at a time - doesnt happen with an external usb proper hard disk drive and the same usb key works fine on a vista laptop and a very old thinkpad t23 which is just usb1.1 as well - i have to check if the same pc with xp runs fine but i dont have a spare licence to try - was using the beta so that i can buy windows 7 straight when its released - have a good mind to give ubuntu a try now!! (oh but i miss office 2007 which i use all the time)
Pingback from Topics about Finish | Restored 64-bit Windows 7 Beta from Windows Home Server Backup on a…
I have been running the Beta on my home desktop comp, very stable, no blue screens, very snappy. Only some small issues with IE8 and the explorer shell. Feel no need to update to RC, think i will wait for RTM (hopefully it is released before beta expires)
I bought a Dell Precision M4400 two weeks ago, and I installed Windows 7 RC because of your posts. Instalation was very quick and nice, but I have some problems with touchpad controller. I can't install the controller from Dell. Have you the same problem? Have you any sollution?.
Thanks in advance.
Nino.
Nino, I downloaded and installed the touchpad drivers from Dell without any problems at all actually. Driver R212017. Are you on 64-bit? I can send you my drivers if you give me your email address.
/Johan
Yes, I'm on 64bit. Please, send me your drivers. My e-mail address is nino.turch@ono.com.
Nino
Hi Johan,
I've tried with the driver R212071 and tell me that doesn't support this OS. I forgot to change the execution to Vista Compatibility Mode. I did this and driver was installed without problems.
Thanks for all,
Pingback from hotgazpacho » Blog Archive » Daily Digest for July 27th
Pingback from Tune Up Your PC » Post Topic » Unity Lifetime Managers and WCF Integration
Pingback from Futile » links for 2009-08-11
Have you tested Watin?
It isn't very fun to maintain those recorded scripts.
I think the Watin API is very nice
/Mikael
Glad that you found the article helpful. I also sympathize with your general point here.
I agree that if you use a product, you should contribute in some meaningful way. I've really enjoyed WriteSpace and I hope you still have plans for the future. When you say, "it would hav been fun," does that mean you're finished. Say it ain't so!
In the past few months that I've been running my own little open source project (called Time Drive, a Linux backup program for anyone who might be interested), I've found that very few users actually contribute back in a meaningful way. I'm not sure why that is, really.
I understand that not everyone can code. But you can always file bug reports, help write documentation, or donate money. There are real costs associated with distribution, including bandwidth and hosting fees. And if there's money left over, no one would fault the developer a night on the town for a relatively free meal. No one gets rich doing open source.
Right ... with the rant out of the way ... are there small ways that one such as I could contribute? I don't really have the time to master the source code of a completely different project, but I'd be happy to help with promotional stuff (advertising new releases) or documentation. I'm also quite happy to throw some money you're way if there is a donation link.
Regardless, thanks for creating a fantastic piece of kit. I really hope that you've got big plans for the future.
Rob Oakes
.NET Solution for ORA-01461: can bind a LONG value only for insert into a LONG column
Pingback from Francesco Biacca blog » Blog Archive » c# switch sui tipi CLR
Pingback from Visual Studio 2008 web test recorder not working on 64-bit « Random Technical Thoughts
Pingback from Techno Blog » Archive » Añadir assemblies a Visual Studio
Visual Studio 2008 web test recorder not working on 64-bit
Pingback from C# WS Client Gener??l??sa (Service Reference solution) « Never Mind
Nice. I published it on our site.
/dag
Pingback from Twitter Trackbacks for Package and Publish Web Sites with TFS 2010 Build Server - IBlog<Johan> [asp.net] on Topsy.com
Pingback from Twitter Trackbacks for ASP.NET 4 Website Fails to Start on Your TFS 2010 Server? - IBlog<Johan> [asp.net] on Topsy.com
Pingback from Twitter Trackbacks for Insufficient Permissions Problems with MSDeploy and TFS Build 2010 - IBlog<Johan> [asp.net] on Topsy.com
えーまじでー「リサイズしたときはMeasureItemイベントは発生しないので全部コピーしなおしなさい」 http://weblogs. asp.net /jdanforth/archive/2004
Pingback from Software Architecture – Design Problem – MS Visual Studio 2010 + .Net 4.0 + WCF + NHibernate + Silverlight « SoftArchitect
thanks for writing it down! I couldn't figure out why my paging wasn't working until I saw you quote from the DataPager docs.
Pingback from Twitter Trackbacks for Silverlight Watermark TextBox Behavior - IBlog<Johan> [asp.net] on Topsy.com
Pingback from Twitter Trackbacks for Silverlight AutoCompleteBox DataTemplate - IBlog<Johan> [asp.net] on Topsy.com
thanks for this great behavior! I'd like to suggest a litle modification - support for binding. Instead Text property use WatermarkText property, declared as
public static readonly DependencyProperty WatermarkTextProperty = DependencyProperty.Register(
"WatermarkText",
typeof(string),
typeof(TextBoxWatermarkBehavior),
new PropertyMetadata("Enter text here ..."));
and
[Description("Gets or sets the watermark text")]
public string WatermarkText
{
get { return (string)GetValue(WatermarkTextProperty); }
set { SetValue(WatermarkTextProperty, value); }
Now you can bind WatermarkProperty in XAML like this:
<TextBox x:Name="txtSearch"
Grid.Column="1"
BorderThickness="0"
HorizontalAlignment="Stretch"
MaxLength="25"
TextChanged="txtSearch_TextChanged">
<i:Interaction.Behaviors>
<Behaviors:Watermark WatermarkText="{Binding CommonResStrings.TypeHereToSearch, Source={StaticResource Resources}}"
Foreground="LightGray" />
</i:Interaction.Behaviors>
</TextBox>
Best regards,
Matjaz Bravc
Johan, I love you, I spend a whole day digging around, trying to make this work, no go, then I read your post and it worked!!!!
Pingback from Twitter Trackbacks for How to Hook Up a VS.NET 2005 Solution With CruiseControl.NET in a Few Minutes - IBlog<Johan> [asp.net] on Topsy.com
Pingback from Twitter Trackbacks for Extended Silverlight AutoCompleteBox for Handling Enter and Command Binding - IBlog<Johan> [asp.net] on Topsy.com
Pingback from Using a Custom CatalogPart to add WebParts dynamically at run time | geissingert's space
Web Deployment Builds in TFS 2010
Pingback from Windows Phone 7 Watermark on PasswordBox « Damian's Blog
Years and years ago I wrote this blog post about detecting if the user was idle or active at the keyboard
Pingback from Detecting Idle Time with Global Mouse and Keyboard Hooks in WPF
Здравствуйте !
Клининговая компания «CleaningLux» занимается профессиональной уборкой квартир,
помещений и предлагает полный спектр услуг – от плинтуса до витрины – всё будет сиять
чистотой. Результат – Вам не приходится держать лишний штат сотрудников, тратить деньги
на оборудование, Вы обретаете надежного партнера, который не оставит пятен на Вашей
репутации.
Так же предлагаем мойку окон, уборку коттеджей "под ключ", уборку снега. Звоните нам !!
<a href=www.cleaninglux.ru/>%D0%A3%D0%B1%D0%BE%D1%80%D0%BA%D0%B0 квартир спб</a>
Пишите нам!
Pingback from Restful Interface Example | AllGraphicsOnline.com
Pingback from Silverlight4 TextBox.Watermark « EmoSun's Blog
Nice people on the forum!! Any of you guys live near to Las Vegas and need maid services then look me up. Thanks!
For less string copying and better performance using StringBuilder would be good option.
Cool! Now what about UPDATEs? :-)
Would suggest to change void Insert to void Insert<T>, then you can to var type = typeof(t);
Which will work/give you a type even if the value is null.
Also perhaps some attribute support for columns to be excluded, like i.e. Identity columns.
Yes, good ideas, I'm already dabbing at a few of them :)
BBL
@Mattias I did Insert<T> first, but had to change to support anon class. Not sure I understand what you mean with "even if the value is null"?
Looking for [Key] atttribute is a good idea, will try that.
Making extensions for Dapper-dot-net was so fun and I needed a few more simple ones so I refactored a
Pingback from Refactored Dapper Extensions
I totally agree with Mattias Karlsdon. Check please osmirnov.net/.../boosting-stackoverflow-com
Hi, again. Second mistake is no cache for reflection.
I will propose a much better & readable (in my opinion) version of your method :
public static void Insert(this IDbConnection connection,
object entityToInsert)
const string insertTemplate = @"INSERT INTO {0} ({1}) VALUES ({2})";
var type = entityToInsert.GetType();
var properties = type.GetProperties().Select(p => p.Name).ToArray();
var names = string.Join(",", properties);
var values = string.Join(",", properties.Select(n => "@" + n).ToArray());
var query = string.Format(insertTemplate, type.Name, names, values);
connection.Execute(query, queryentityToInsert);
It will generate the query faster because there's no += for string and string.join is even faster then the StringBuilder version.
One more thing to note is that you are calling entityToInsert.GetType().GetProperties() multiple times and one is enough.
Just my 2 cents
@osmirnov yes, I think I see what you mean. I should try to avoid reflecting over the properties and attributes more than once...
I will also try to completely remove the string sql in-parameters to prevent risk for sql injection as Sam commented on code.google.com/.../detail
@scifire yes, thanks. I got rid of the string-cat in newer version (see other blog post), and also got better handling of property reflection in code I will share soon!
Thanks for feedback!
запчасти для банкоматов запчасти для банкоматов NCR запчасти для банкоматов http://ncr.america-shop.ru АТМ марок NCR запчасти для банкоматов АТМ запчасти для банкоматов АТМ марок банкомат для банков АТМ марок NCR
Just a little improvement of scifire version.
Multiple calls to type.GetProperties() can be solved by introducing a Dictionary<Type, IEnumerable<PropertyInfo>> behind a reader/writer lock to cache the list of properties by type.
Generating dynamic methods is probably a step too far, as there shouldn't be that many writes in most scenarios (if it's not a problem for SO, it's not a problem for me ;-).
Nice App. I'll test it and give some feedback. Are you looking for feedback in a particular area?
And will you be adding features in future? I do realize that you said that you would like to keep it simple. And I'm fine with that. And I've tried out a few PT apps and while they have some features that I like they are not all in the same app. A full-featured PT app would be great.
One that syncs with GTasks or Outlook to assign tasks to time periods. But that would be a hell of a lot of work. And I don't even know if a market exists for this kind of app. It would suck to create a product for a market of 1.
Anyways I'm happy that you're making it open-source.
I cannot get the jump list to work on my machine. Have you got any clue as to why? Get back to me on Twitter if you like!
Magnus
@Jay - thanks mate. Feedback on anything you like or not :) and yes, I could add lots of more features, but I will keep this one simple and release the source soon. After that people may fork as much as they like.
@Magnus - no idea why. I've installed it on other machines at home without probs, but there may be something else? I'm using some .NET 4 features for the jumplist. Can you see the jumplist items at all?
I like it and could be an user :-)
Some observations.
1. If you have a session going on and you click on the windows close button it ends the application(as expected). I did so "by mistake" which ended my session, an idea could be to ask if you want to exit or just minimize.
2. The text pause timer and resume timer can eventually be better than start and stop.
3. You can "resume" the timer when on 0 minutes, nothing happens so it's not a problem.
Like Jay writes a link to Outlook GTasks would be nice. Since you want to keep it simple ... what about just dumping it to a iCalendar file ? Get back to you on that I could eventually write that ;-)
Samuel
Really like the look of this! I'm a big fan of micro frameworks and I was just about to start looking at nServiceBus or similar.
Would love to see it on github and/or NuGet!
I love the idea and actually started to think about this a couple of days ago.
I would be happy to contribute, if you decide to go open source.
Thanks for the quick feedback - if I decide to go open source, which repository would you prefer? I'm used to codeplex myself, but github works too I guess :)
@Jose - I would love to get help on both reviewing/testing and coding if I release the stuff. It's very "spiky" atm ;)
@Anders - if released on NuGet, should it be adding ref to the small dll or injecting the code file? Sam changed Dapper from dll to the code/source file. Not sure which is best?
I'm really not picky. CodePlex, BitBucket or any other. PM me at twitter @zepedro
Pingback from A One File .NET Micro Service Bus for MSMQ? | .NET and ASP.NET | Syngu
Looks good at a first sight.
I would prefer the Nuget package as a single file.
Personally, I think that's one of the main benefits of all theese single-file micro frameworks. No external dependencies, no extra files to include, easy to modify etc.
I just wrote in my blog about our need for a Short Bus (blog.johnruiz.com/.../case-for-short-bus.html).
And I had previously written a simple, no-frills API for publishing and subscribing to events. http://eventing.codeplex.com
I'll be interested in following where you take yours. =)
Downloaded yesterday, trying it out today.
It would be nice with an option to have tick-sounds. Like an old time wall clock. To remind you of the passing of time
The code is now open source on codeplex, on pomodorotimer.codeplex.com
There's a new version for download there too.
If one pomodoro is complete the bell rings.
You stop the ringing and take a break.
If you now start a new pomodoro "Start Timer" it goes from 0 to -1 to -2 ...
It would be nice if it restarted from the original pomodoro value (25) instead.
Huh? I hope you use the latest version on codeplex :) How did you stop the ringing? From the jumplist taskbar or the button?
I've created a codeplex project for this now (not open yet), and I've also created a NuGet package locally for testing.
Will try to open upp everything in the next couple of days and would love to get more people aboard - both devs and testers. Especially people who knows concurrency and will be able to break it :)
Really interesting project,
I think nServiceBus as a too restrictive licensing, and Rhino forces to use Castle, that is becaming huge. An alternative is Mass Transit, that does not have the concept of permanent subscription/transient substcription, so I would love to see this in your project ( these concepts comes from ActiveMQ ). If you accept cooperation on your project, I would be happy to join it.
Just opened up a codeplex site for this project at http://minibuss.codeplex.com will also open it up for co-op soon.
Will also publish a NuGet installer today called "MiniBuss".
Very nice, but why for the love of god did you use TFS source control? Why not put it on github like everyone else? :) or use codeplex mercurial support.
@Torkel - lol, what's so bad with TFS ;) if it's a problem for people I can move to mercurial. I got a bunch of other projects at Codeplex already and it works well for me so that's why I put it there.
Pingback from The Morning Brew - Chris Alcock » The Morning Brew #927
Pingback from Dew Drop – August 31, 2011 | Alvin Ashcraft's Morning Dew
Very clever! And a single file project :D
Kudos.
Pingback from Dew Drop – September 1, 2011 | Alvin Ashcraft's Morning Dew
Pingback from links for 2011-09-01fboiton's blog | fboiton's blog
Pingback from Dew Drop – September 9, 2011 | Alvin Ashcraft's Morning Dew
I tried MiniBuss, and it compiles quite nicely, but when I run the Sender app, it complains that I don't have permission.
"The queue does not exist or you do not have sufficient permissions to perform the operation"
Do you know why this would happen? I'm on Windows 7.
Have you made sure the msmq component is installed on your machine?
I thought I posted this, but it was TOTALLY my fault.
The sender program requires that I run the reciever program, or there is no queue, thus the error.
I'm loving the simplicity of your framework, and I'll use it soon.
@Fallon :) Good that things got sorted, I wish you luck. If you got other problems or questions, please use the issues feature on github, codeplex or contact me on twitter at @johandanforth
Pingback from Store Axis raw XML request/response in session (to be used in JSP) - Programmers Goodies
Pingback from TeamCity, Subversion, Web Deploy, Part 5: Web Deploy with TeamCity « Kim Cu Hoang's Weblog
Pingback from Using TFS for CI | iSense Prowareness Developer's Blog
Pingback from Dew Drop – February 7, 2012 (#1,260) | Alvin Ashcraft's Morning Dew
Pingback from MSTest and Calling Exe with Sample Data Files | Unit Testing, ASP.NET | Syngu