» Home » exposing » Page 1
Is there anything wrong with having a few private methods exposing IQueryable<T> and all public methods exposing IEnumerable<T>?
by Dean in Programming Languages

I'm wondering if there is a better way to approach this problem. The objective is to reuse code.


Let’s say that I have a Linq-To-SQL datacontext and I've written a "repository style" class that wraps up a lot of the methods I need and exposes IQueryables. (so far, no problem).


Now, I'm building a service layer to sit on top of this repository, many of the service metho


Exposing or not exposing an API
by Igor Carron in Programming Languages

I have the current dilemna in one of my portable C libraries I am working with. I have two high-level lib (say libA and libB). They provide very different API, and depend on user configuration options. I am against merging them together since it would mean merging any later libC, libD with libA. So I am trying to keep this clean separation. This also mean that application programmer can have a


Exposing a C++ API to C#
by Soccer55 in C & C++ & C#

So what I have is a C++ API contained within a *.dll and I want to use a C# application to call methods within the API.


So far I have created a C++ / CLR project that includes the native C++ API and managed to create a "bridge" class that looks a bit like the following:


// ManagedBridge.h
#include <CoreAPI.h>
using namespace __CORE_API;
namespace
TAGS : Exposing

Exposing.NET assembly as COM 101
by Fenix Drakken in Programming Languages

I have trouble to expose a .NET assembly in COM. It seems that I must be missing some basic step because I think I followed all tutorials and documentation I found as well as common sense, but still when I do (in a test VBScript):


Set o = CreateObject("MyLib.MyClass")

It keeps saying that the object cannot be created.


Here are the steps I have don


exposing net.tcp endpoint
by luv2liv in Programming Languages

I'm a bit confused of how to expose an endpoint in WCF


I've got a tcp endpoint and a mex tcp endpoint.


<service name="MessageReaderService.MessageReaderService">
<endpoint name="NetTcpReaderService"
address="ReaderService"
binding="netTcpBinding" bindingConfiguration=""
contract="Contracts.IMessageReaderServic

Ajax to API without exposing KEY
by Adam May in Programming Languages

I'm pretty sure the answer of what I'm going to ask is NO but maybe someone can give me a different idea so I'm asking anyway.


I'm developing a control panel that fetches information form a 3rd party webservice via an API call. I could make a call with AJAX which return the result in milliseconds on the browser, but I would be exposing the API Key of this service. Even though this i


AJAX exposing the API of a web app
by Pain999 in Programming Languages

A couple of years ago, before I knew about Stack Overflow, I was working in an office with a lot of competition between the programmers. There, I had to code a web page in PHP with Drupal, that needed to get data from another site by RSS. What happened was that there was no way to get the data beforehand: the data depended on the content of the page which itself was dynamic, so the page stopped

TAGS : AJAX exposing

Different types of Id when exposing DTO over WCF
by mhedberg in Databases

Lets say we have a simple DTO with properties Id, Name. If this DTO comes from database through some data layer, Id should be of type int. If this DTO comes from Active Directory, through some data layer, Id should be of type Guid.


What would be the best way to implement this?


Thanks in advance!


Exposing DAO as web service
by drudge in Programming Languages

Can anyone point me in the direction of documentation for exposing a DAO as an external web service? Currently, in my application we follow a DAO -> Service -> UI layered architecture. Everything is internal to the app, our DAOs access the DB through Spring JDBC and the services are visible only to the web application.


We now have a need for downstream systems within my company to

TAGS : Exposing service

Exposing DB within the application
by vvv in Web Design

How can I secure connection or db credentials when directly accessing the DB server over the internet from the client side application.


Thanks
Vishal


Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .