Skip to main content
4 votes
Accepted

Creating an app with a secured performing service the Microsoft way

You're asking that a mobile app, without any physical security, serve as a trusted application within your overall solution. Sorry. There is no mechanism to ensure that trust, at least none that has ...
John Wu's user avatar
  • 26.9k
4 votes

Why was WCF designed to violate Liskov Substitution Principle?

My understanding is that this is a problem of deserialising the xml to actual concrete classes. The WCF client needs to instantiate the same class, or at least a class with the same public properties,...
Ewan's user avatar
  • 81.9k
3 votes

Where do I define WCF client endpoints in a test project?

There is a simple trick you can use. Visual Studio will load the app.config for the test project into it's host process if it's present. However, test projects don't usually have app.configs. You can ...
T. Sar's user avatar
  • 2,166
3 votes

Logging Implementation in a project using a class library or a web service

You are re-inventing the wheel here, there are a ton of excellent logging libraries for C#, as well as excellent log aggregation systems. My personal favourite logging library is Serilog, and for log ...
Justin's user avatar
  • 1,748
2 votes

How do I debug memory issues on a shared server?

If it is a traditional ASP.NET web app (WebForms or MVC), the most likely culprit is session storage. Particularly if you are using in-memory session storage (which is the default), and then using ...
Kasey Speakman's user avatar
2 votes

What features are missing from WCF Rest Implementation

WCF can be pretty complicated if you let it but is pretty easy if you need basic SOAP and that holds true even if you need a few frills and more exotic transport, authentication or protocol options. ...
LoztInSpace's user avatar
  • 1,338
2 votes
Accepted

Is client-server application with direct connection to database good idea?

It all depends on the requirements of your system. If you have 1-5 users who will only use the application internally and there's a Windows domain, yes, a physically 2-tier application is a fine ...
Andy's user avatar
  • 2,044
2 votes

How to handle field level Acces Security when using Entity Framework

I have similar problem: I have several users with different permissions. Some of them can do everything and some of them can select/update only certain columns in tables. The solution I have found is ...
JohnyL's user avatar
  • 121
2 votes
Accepted

Wrapping WCF client with Stream for disposing

But I do not want my retrieval class from above to be dependent on the class that does the actual work on the dataStream. That's what abstractions are for. If you inject that dependency, then you ...
David Arno's user avatar
  • 39.6k
1 vote

Generic message broker based on WCF

I would implement as follows: A Windows Service on each machine that is running Aster. A service is easy for your operations team to set up health monitors and controls for starting and resetting. ...
John Wu's user avatar
  • 26.9k
1 vote

Passing ServiceLayer's services to WCF service

You should avoid business logic in the WCF project. If your WCF project uses more than one Service Layer project then it must(?) have some business logic in it. Either: Make a new WCF 'hosting layer'...
Ewan's user avatar
  • 81.9k
1 vote

How do I debug memory issues on a shared server?

I suggest building a similar machine in your development or testing environment and reproduce the memory leak on it. Then you can attach a profiler to your .net processes in order to catch the leak. I ...
Boris Modylevsky's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible