C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

learn more… | top users | synonyms (5) | c# jobs

0
votes
0answers
2 views

What is the correct way to import IWinInetHttpInfo (COM) in .NET?

I am having great difficultly importing and using IWinInetHttpInfo (http://msdn.microsoft.com/en-us/library/ms774972(v=vs.85).aspx), a COM interface in .NET. I am in the process of writing an ...
0
votes
0answers
3 views

Simulating a Windows 8 Store apps purchase

I am trying to put together code that simulates purchases for a Windows 8 (Store) app. The code is pretty simple and uses the Windows API: var result = await ...
5
votes
3answers
31 views

Which pattern is more preferable: test-create, try-create, create-catch?

Let's assume there is an operation that creates a user. This operation may fail if specified email or username exists. If it has failed, it is required to know exactly why. There are three approaches ...
0
votes
0answers
6 views

Best way to do parallel stages?

I want to stage files in parallel and commit into different branches concurrently. There will be multiple access at the same time. The repo.Index.Stage/repo.Commit API works on the same current ...
0
votes
0answers
4 views

server error in '/LiveLease' application requested url not found

I have a page that has tabbed content my aspx page is function agreementWebTab_Init(sender, eventArgs) { if (sender.get_tabs()[0].get_contentUrl() == "") { var urlResolved = ...
1
vote
3answers
47 views

Not understanding OOP for virtual and protected set

Hi I thought I was understanding these concepts but I am not sure anymore. Let's say I have the following: Interface public interface IUnit { DateTime CreatedDateTime { get; set; } } Base ...
0
votes
0answers
3 views

Can't connect to Windows ServiceBus via HTTPS

I'm trying to connect to a windows service bus using HTTPS. Here is my app config setting: <appSettings> <add key="Microsoft.ServiceBus.ConnectionString" ...
0
votes
1answer
12 views

how to set or get the NetworkAddress key from the registry using C#

//Hi! I want to read and modify the registry key value of my NetworkAddress, it's path in the registry is: ...
0
votes
1answer
10 views

The best way to insert foxpro 6 table by C#

I have an assignment that will insert records to a foxpro table. There is a column called “submitid”, but it is not a primary key. I will have to insert a number by increment of max(submitid) + 1. ...
0
votes
0answers
14 views

Why I got my model attributes null during a put request in web api?

I send a PUT request from my View to web API controller using JQuery and Ajax. It hit my web api controller but my model attributes are null. Here Is my Controller Code: public HttpResponseMessage ...
3
votes
2answers
22 views

Is there a quick way to get every association between two entities?

I have two tables in my database: TPM_AREAS and TPM_WORKGROUPS. There exists a many-to-many relationship between these two tables, and these relationships are stored in a table called ...
0
votes
0answers
11 views

Update CLOB using a textbox in C#

I've been all over the web with this one and I am surprised how I can't seem to find any way to do what I looking for. I am using the Oracle.DataAccess.Client library in my C# project, not the ...
0
votes
2answers
27 views

How can I create a timer loop which runs code every 30 minutes?

I would like to input an autosave feature in my program which will run a line of code at the end of the countdown, then restart the loop. (It will run my SaveFile(); function) I would like this timer ...
0
votes
0answers
20 views

Simulating steering wheel with C#

guys. I recently started using C# and I'm wondering how I can make my application simulate steering wheel. For example I open any racing game, and I would like my C# app to send message like " Turn ...
1
vote
1answer
15 views

specify a value can be a string or null with json schema

Hopefully this isn't obvious to others because I find the docs at http://json-schema.org/ to be lacking in finer details. I'm getting a block of json with some properties that can be null or a string. ...

1 2 3 4 5 30176
15 30 50 per page