Great primer on sending email in .NET, with code snippets.
Some 15 years later things have become quite a bit easier. Sending an e-mail is as straightforward as calling a few basic library functions and .NET of course includes a solid implementation.
via Using C# and .NET to send an e-mail through SMTP | Martijn’s C# Programming [...]
Archive for July, 2009
Using C# and .NET to Send an E-Mail Through SMTP
Posted in Uncategorized, tagged c#, e-mail, email, smtp on 2009/07/29 | Leave a Comment »
EdmGen2.exe – Replaces EdmGen Shipped w/ .NET 3.5 SP1
Posted in Uncategorized, tagged .NET-3.5-SP1, EDM, edmgen.exe, edmgen2.exe, entity, entity-framework, microsoft on 2009/07/29 | Leave a Comment »
This looks very useful for anyone (poor wretch) wrestling with the Entity Framework.
EdmGen2 is a command-line tool for the Microsoft ADO.NET Entity Framework. The tool can be used as a replacement for the EdmGen.exe tool that ships with the .Net framework 3.5 SP1. EdmGen.exe can only read and write the CSDL, SSDL & MSL file [...]
Join Table Hiding Improvements in EF4? Workarounds?
Posted in Uncategorized, tagged EDM, ef, EF4, entity-framework, join, join-table, many-to-many, model on 2009/07/22 | 1 Comment »
After inquiring on the official forums about new features in Entity Framework 4.0 around join tables this is what I heard back. In short, no new news. Which is too bad. Our model doesn’t really model entities until we have some way of hiding the join tables or otherwise demoting them to second-class [...]
Querying using DataServiceContext and DataServiceQuery
Posted in Uncategorized, tagged ado.net-data-services, DataServiceContext, DataServiceQuery, query on 2009/07/17 | 1 Comment »
Quick overview of the alternatives for querying using ado.net data services.
Use LINQ to ADO.Net Data Services to query the service. Again, since the DataServiceQuery is an IQueryable, you can use LINQ syntax to query it:
var query = (from p in svc.Posts
where p.PostID > 3
orderby p.PublishDate
select p).Skip(2).Take(2);
via Querying using DataServiceContext and DataServiceQuery – linyusen的专栏 – CSDN博客.
Debugging ADO.NET Data Services
Posted in Uncategorized, tagged ado.net-data-services, debug, exception, IncludeExceptionDetailInFaults, service, UseVerboseErrors, verbose on 2009/07/16 | 1 Comment »
My service is broke-a$….er I mean my friend is having issues with his code and this is the link I sent him.
By default, Data Services don’t return information on what’s wrong when you try to execute some code, for example an update, against it. This is understandable: if you open up a data service on [...]
$filter Query Option in ADO.NET Data Services
Posted in Uncategorized, tagged ado-net, ado.net-data-services, filter, query, service, web-service on 2009/07/16 | 1 Comment »
ADO.NET Data Services provides filtering options for free.
What can go in a $filter? The most basic thing to do is to test properties of the resources we’re returning, which you can access simply by name, like we have done above. Literals for things like strings and numbers use the same syntax as in the key [...]
InitializeService in ADO.NET Data Services
Posted in Uncategorized, tagged ado-net, ado.net-net-data-service, debug, entity-framework, IncludeExceptionDetailInFaults, InitializeService, service, web-service on 2009/07/15 | Leave a Comment »
Need to debug an ADO.NET Data Service?
Another interesting point has to do with error handling. The option for error handling is set during InitializeService. If an exception is thrown while InitializeService is being called, we don’t trust whatever was set on the configuration, and instead of the ADO.NET Data Service error handling kicking in, we’ll [...]
Visual Studio 2010 Intellisense Missing? Disappeared?
Posted in Uncategorized, tagged intellisense, reboot, reset, visual-studio, visual-studio-2010, visual-studio-2010-intellisense, vs2010 on 2009/07/15 | 1 Comment »
I was just harshly reminded of the dark ages of software development, a time I only hazily recall as involving black-screened terminals that were constantly loosing, leaking, or not releasing something important, when I just tried to use Visual Studio 2010 only to discover that Intellisense wasn’t working. Not getting any further than “Hello Wo… [...]
Enthusiasts Convene To Say No To SQL
Posted in Uncategorized, tagged BigTable, database, hadoop, rdbms, sql on 2009/07/02 | Leave a Comment »
Given the amount of time it seems I spend working on data access related code I’d be very interested in what solutions the community is coming up with as an alternative.
Enthusiasts Convene To Say No To SQL, Hash Out New DB Breed
via Slashdot Technology Story | Enthusiasts Convene To Say No To SQL, Hash Out [...]