Pas encore inscrit ? Creez un Canalblog!

Créer mon blog
jicy

jicy

Ses blogs

asp.net

.Net stories
jicy jicy
Articles : 7
Depuis : 24/04/2009
Categorie : Technologie & Science

Articles à découvrir

Create a serializer / deserializer for linq to sql entities

Using system;using system.io;using system.xml;using system.runtime.serialization; namespace jc.common{ /// <summary> /// provides methods to serialize objects /// </summary> public static class serializehelper { public static string serializexml(object value) { if (value.gettype() == typeof(string)) return value.tostring(); stringwriter stringwrite

Problem with asp.net 2.0 crystal reports deployment

I've developed an applications with asp.net 2.0, containing crytsal reports, working on dev environment, but when i installed it on integration environment, i got this error : retrieving the com class factory for component with clsid {11bd5260-15b6-412d-80db-12bb60b8fe50} failed due to the following error: 800736b1. description: an unhandled except

Linq to entities and oracle

On my last project, i had to implement a service layer, accessing oracle database. the service layer was implemented with wcf. i use to work with linq to sql on other projects, so i wondered if it was possible to access oracle database in the same way as sql server with ls... not at all! i found on the net that ls was not working with oracle. i sho

Linq to sql issue when serializing in the viewstate

After having implemented linq dto with relations, using the codeplex l2st4 templates, i got an error when seriallizing the dto to the viewstate. the problem was about th serialization of a relation, implemented as an entityset in the dto. the problem was the viewstate serializer did not recognise the entityset. the solution: a workaround to seriali

Percussion rhythmyx cms web service and c#

I've been asked by a client to implement a module that request percussion rhythmyx cms web service to search for some documents and get their published url. i had a big issue because the existing rhythmyx web service does not provide the document's published url. they just provide the assembly url. i had to implement a small algorithm to get the as

Wcf and linq to entities exposed attributes issue

On my last project, i've been searching for a solution to hide some properties of my ef generated entities to my wcf services clients. the problem is that wcf exposes all the entities members, public, private, or internal. in fact, all entities properties marked with [datamember] attribute will be exposed to the wcf client. the solution remains in

Linq to sql generic methods

In order to avoid too much coding in my dao layer, i've been creating some generic linq to sql crud methods. generic delete method: /// <summary> /// delete an entity /// </summary> /// <param name="entity"> entity to be deleted </param> [system.componentmodel.dataobjectmethod(system.componentmodel.dataobjectmethodtype.delete)] public void delete(t