When you create a new TableAdapter for your DataSet using Configuration Wizard, VS kindly generates new code file for you and adds the specified connection string to application settings. The problem is that connection string also gets included in the auto generated code file and consequently embedded into compiled assembly, which may result in "unexpected behavior" in production environment, like application trying to connect to the wrong server and stuff... Not to mention potential security risks...
To turn this behavior off and store your connection string to configuration file only, select
(Connection string) setting in your project's
Settings page and switch its
GenerateDefaultValueInCode property to false.
3714a829-9868-44e7-806b-d70f2211e3a6|0|.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
I've been working with
Visual Studio 2005 intensively for over a month now and one thing that annoyed me most was
this bug, which caused certain keys to stop responding in VS IDE. It first happened during my
VSTO presentation on NTK and its been haunting me ever since.
I downloaded and installed July CTP a few days back and after experimenting with it a bit, I decided to go with it completely. Keys dont seem to freeze anymore, IDE looks more responsive, there are a few new settings and some cosmetic changes (like tabs).
VS installation, however, indicated that SQL Server Express did not install correctly, but looks like its working anyway.
On top of all,
WSE 3.0 July CTP, which goes along with VS2005 July CTP, was also released yesterday.
Busy summer
On a side note VS 2005 Beta 2 VPC image is also available for
MSDN subscribers. Yes, the whole shebang (Windows 2003, Office 2003, VS 2005 Beta 2, SQL Server 2005 CTP) already installed and ready to use.
531fcb3c-fcd1-4ec6-a046-20f01a5b6a9c|0|.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
Visual Studio Tools for Office 2005 (VSTO) family is getting bigger: after initial Word and Excel support and InfoPath refresh (available for MSDN subscribers), now there's
Visual Studio 2005 Tools for Office Outlook (Beta), allowing developers to write Outlook Add-ins in managed code.
fdb79069-5a67-4054-b98b-8e7d4e87176d|0|.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
The following files from my
NTK2005 talk/lab are ready for download:
Visual Studio Tools for Office 2005PowerPoint slidesClickOnce Lab
PowerPoint slidesDemo codeHands-On-Lab manual
27cf8171-2049-4583-ba20-14f713e12da4|0|.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
I'm back from the
10th NT conference, held in Portoroz, Slovenia, where I gave a talk about
Visual Studio Tools for office 2005 and had a lab on deploying applications using
ClickOnce. I will post PowerPoint presentations and demos on this site in a few days. If you have a question about using these new exciting tools and technology, you're more than welcome to post a comment here or email me.
037464c6-466b-444e-9eda-d23a87ea65ca|2|1.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
First Visual Studio 2005 Beta 2 bits are available for MSDN subscribers to download. I guess april 15th wasn't such a bad guess after all. The
real experience begins in a week... ;)
38fe0144-6afe-47a1-b3d2-78fbcde584d3|0|.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
There's a discussion going on here and here about the new SLODUG portal, which was recently put up by local developers' community. By the developers, for the developers. So, what's the problem? I don't really know the reason why they decided on the MS' CodeZone implementation; personally I think it's not intuitive, limited and somehow outdated. Don’t get me wrong, I certainly agree we developers need a meeting place to share our knowledge but the problem might lie elsewhere. Go to David’s si.Blogs page and count how many developers’ blogs are listed. Not many. I think we should first encourage our developers to start their own blogs by putting up a site like www.codebetter.com or www.dotnetjunkies.com, then syndicate all blog entries and integrate them with a simple forum (e.g. in a way that blog comments show up as forum posts). Looks like codezone-si certainly is going this way, but the tool, chosen for this, might be a bit awkward.
I wish the codezone-si catches on, we need this kind of community. However, making people contribute to it, is another story.
be683220-ca35-4477-b908-fc9312a2447f|1|1.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
If you ever used any of the Microsoft Application blocks in your application, you'll love the Enterprise Library, released by Microsoft Patterns and Practices group. The library is composed of seven application blocks, all extendable, designed to work together and, what's best, very easy configurable with new Enterprise Library Configuration Console.
The library includes QuickStart samples (C# and VB.NET), application blocks' source code (with unit tests).
Excellent stuff. Go get it!
04f141a4-8162-464c-b751-38849961f742|1|1.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
17b8e54f-3cc7-47de-b500-7b0b4af80749|1|1.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :
16. December 2004 15:32
/
Andrej Tozon
/
Software
/
Comments (0)
Wow, so long time and no posts…
Anyway, this one took me quite some time to figure it out: I use Outlook Express as a newsgroup reader and I was used to starting it by simply typing news:// in the command prompt. I don’t know, I’m just more of a keyboard guy and I liked this shortcut; I don’t really use desktop icons and, if possible, start Word by typing winword.exe.
So, invoking OE from the command prompt worked fine for me, until I installed XP SP2 on my machine. From that moment on, OE just wouldn’t show me newsgroup posts anymore. All the newsgroups were there, the posts were retrieving from the server successfully, except when I clicked on one to see the whole post, this app just moved the selection focus to the newsgroup name again. Weird. I knew this was somehow connected to the security enhancement features of SP2, but I just couldn’t find any information about this issue anywhere on the net. Maybe because this wasn’t really an issue. After a month or two, I asked myself a question: how many people starts their OE the way I do? And I went and finally started it “the proper way” – by Start menu. Woohoo, works.
833d2b4f-e42d-4a1a-af7f-8e230915f20c|1|1.0|27604f05-86ad-47ef-9e05-950bb762570c
Tags :