Tag Info

New answers tagged

2

The intention of the GPL is to ensure the maximal possible freedom for the (end-)users of GPLed code. Therefore: you may freely use GPLed software, even in closed source applications. The GPL does not require that you open-source your code. when you re-distribute/convey GPLed software, you must use the GPL license so that your users enjoy the same freedom ...


0

Having provided firewall and VPN support for a couple of years now, I can tell you with confidence that applications which keep ports open for an extended period of time are not stable from both the local server perspective and the network point of entry perspective. It can also be a security risk (if that is a consideration in your case). Leaving a ...


0

People are not really criticizing just telling you it is not a good idea. WCF is an alternative. It is not like exposing the database to the internet - it is exposing the database to the internet. Ports are locked down for a reason. It is not just a security risk in general but clearly you would be violating your security policy. The person / group ...


1

You don't say anything about what kind of 'simple tools' you are talking about, so you just get knee-jerk answers based on what people assume it to be. If the tools are desktop apps distributed to untrusted users over the internet, then obviously it would be an incredible bad idea to allow them to execute arbitrary sql on your database server. On the other ...


1

Best pracrice is to use different classes on both sides of the service. After all if you were an external client consuming the service you would hardly have access to the service classes. However, as you point out, that is a pain. I would share the data classes. perhape compile them and stick on an internal nuget repo?


4

no, there is no difference between calling an ASMX web service vs. any other kind of web service. The code on the server is not exposed because .cs files are by default not served by Asp.Net, or the code for the ASMX is compiled into an assembly in the bin folder, depending on the type of project (Web Site vs. Web Project) deployed. It may be possible to ...


1

Wikipedia has a suitable definition for Middleware. It says: Middleware is the software that connects software components or enterprise applications. [It] is the software layer that lies between the operating system and the applications on each side of a distributed computer network. Typically, it supports complex, distributed business software ...


0

Not sure what your programming environment is? On Windows I've used MSMQ and a database table for it. MSMQ is of course a good candidate because it is programmed to be a queue, and a database table isn't. But when the application was live, I found a database table was easier to monitor. The default MSMQ tooling was (at that time) somewhat limited and a ...


2

Regarding your first question: for proper decoupling services should only store IDs of objects belonging to other services 9if they can not avoid the dependency at all). Sometimes the dependency can be extracted to a separate "hub" service whose sole role is connecting data retrieved from other services which themselves are not aware of the dependency. An ...


1

This sounds like a perfect use-case for Apache Kafka: Each partition is an ordered, immutable sequence of messages that is continually appended to—a commit log. The messages in the partitions are each assigned a sequential id number called the offset that uniquely identifies each message within the partition. The Kafka cluster retains all published ...


1

Sure, this sort of Software as a Service stuff has existed for quite some time now. Are there any pitfalls to this setup? Yeah, non-functional internet makes it hard for web services to work without some sort of local caching layer. The latency you talk about can be a concern. It can be harder to test your application depending on how it is designed. ...


1

The pitfalls range from Nothing to Everything, with your real-world results lying somewhere in between. Standard libraries are used everywhere. For example, we have the C++ standard library that almost all C++ programs are based off of to some degree. Even this standard library changes depending on your compiler, in that the standard library that ships with ...


0

Your question is very hard to read, But I think I can answer the general question. my understanding of your problem is this: You have a website which authenticates users via a web service You need to be able to test the website You should ensure your setup has these things: The authservice client code implements an interface. You have created a Mock ...


2

If I understood your colleague's suggestion correctly, the solution proposed was to have a web.config key that contains a type name for the implementation class. You can use this name to retrieve the type, instantiate it (or register in DI container), and use it. I.e.: public interface IAuthenticationBlaBla { ... } public class ...



Top 50 recent answers are included