Category "c++sharp"

Appointment EntryID after meeting response

I'm creating a plugin for Outlook using VSTO (C#) and I have a problem how to control EntryID of appointments. Every appointment has his unique EntryID and it's

vs 2015 Error CS0006 Metadata file .dll' could not be found

I am trying to add two new test projects to my solution. When I add them and add references, the build initially creates the dll's in the debug folder. when I

Swagger is not generating swagger.json

I have the asp.net core MVC project and separate WebApi project in one solution. I'm adding the swagger following the documentation on github. Here is my Startu

How can I identifiy a specific appointment item in outlook

We're facing a problem where we need to identify a specific appointment in outlook, even if it is a recurring appointment. But since the GlobalAppointmentID is

dynamically added buttons not firing click event c# [duplicate]

I have some buttons that are being dynamically added to an asp.net page. However the onclick event is not being fired. Here is the code for it

ASP.NET Razor Pages submit button does nothing

I have this view: @page @model TreesOnMars.Pages.NewGameModel @{ ViewData["Title"] = "New Game"; } <h2>New Game</h2> <form method="POST"&g

Unexpected character encountered while parsing value

Currently, I have some issues. I'm using C# with Json.NET. The issue is that I always get: {"Unexpected character encountered while parsing value: e. Path '',

How does XUnit RetryFact attribute works?

I have Selenium tests which are run by XUnit. I write tests on c#. Some of the tests are not stable (especially those which uses mouse actions). I found the Ret

Fast searching an Outlook Address list

I want to search an huge address list from outlook for an AddressEntry by the email address. Searching by name is not problem, as you can write: Microsoft.Offi

Serving static file on ASP.NET MVC (C#)

I am completely new to .NET framework and i would like to know what is the best way to serve static content and to access user generated content. Suppose i hav

Serving static file on ASP.NET MVC (C#)

I am completely new to .NET framework and i would like to know what is the best way to serve static content and to access user generated content. Suppose i hav

Convert EML to MSG c# Using EWS

I need help with converting EML to MSG, using the Exchange web service (EWS) in a Outlook Web Add-In. When i create an EML file from the MimeContent (EmailMess

Check null value in a list using linq

I have a list List<OfferComparison> Comparison. I want to check if all the items have Value == null in an if condition. How can I do it with linq? publ

Private Object "Attempted to access a missing member" exception

I am trying to invoke a private method of an object using private method. This method takes three arguments. Both signature of method i am trying to invoke and

Entity Framework Long Timeout on Queries from Azure PostgresSQL DB

I am having an issue with excessivly long timeouts with calls to an Azure PostgresSQL server. On rare occasions, the call to the database will take approximate

change color of all controls inside the form in c#

in one button click event i want to change form color and all control color inside the form(textbox,label,gridview,combobox) ,,so i given code like this: fo

Marten: Define schema stuff (like indexes etc) not in the constructor/factory call to create the DocumentStore

I just started testing Marten (2.9), and so far I am loving it. However, I am not sure I am following the DocumentStore.For method. For example, in my "dbhandle

Unhook Window into its original State

I hook a window into a Panel using this code: SetParent(win, pnlApp.Handle); SetWindowLong(win, GWL_STYLE, WS_VISIBLE); MoveWindow(win, 0, 0, pnlApp.Width, pnlA

How to send and Receive messages using Facebook Messenger API

i am using C# library for FB Messenger API here - https://www.nuget.org/packages/facebook-messenger-net-lib/ But i think there is lack of some documentation .

When I click on an Object with an Audio Source all sounds of the game play at the same time

I'm making a sound game for kids where they have to place notes in the proper line that sounds like the note. So I need the notes and the lines to play a sound