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 ...
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,...
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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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. ...
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'...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
wcf × 162c# × 59
.net × 47
web-services × 32
architecture × 25
rest × 14
design × 13
asp.net-mvc × 12
asp.net × 11
design-patterns × 10
soa × 9
mvc × 8
soap × 7
security × 6
web-api × 6
entity-framework × 6
wpf × 6
silverlight × 6
api-design × 4
ios × 4
workflow-foundation × 4
database × 3
domain-driven-design × 3
web-development × 3
api × 3