GetDataSources does not work anymore in .NET Framework 4.6
In C#, the following code does not work anymore after installing .NET Framework 4.6.using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ListSQLServers {...
View ArticleMVC stuff in Shared Projects?
HiDunno if this is the right forum for "Shared Projects".In the Shared Projects (in VS2015) is it possible to have MVC stuff (controllers, views etc.)? If it is - is there a blog/sample of this?I have...
View ArticleMSDN subsription related
I have a msdn subscriptionID which I am trying to use, I had activated it with a personal windows live account which I don't remember now I am trying to use this subscriptionID ,now the organisational...
View ArticleHow to place students result score online
"mogulesq-001-site14.smarterasp.net": Please visit the link .i want something like that.The login details are :username:demo Password:demo123.please someone should help me out.
View ArticleChange the default KeyEncryptionAlgorithm of EnvelopedCms.Encrypt Method
When i'm using the EnvelopedCms.Encrypt() Method the KeyEncryptionAlgorithm used by default is rsaesOaep (OID 1.2.840.113549.1.1.7).But i have to use rsaEncryption (OID 1.2.840.113549.1.1.1), because...
View ArticleFailed to read an incomplete http request with NetworkStream
I have implemented a Server and Client with TcpListener and TcpClient. Basically the server wait to a client connected to receive data and close, the client will connect, write and close too. The...
View ArticleGet Roles and Permission using Claims from SQL Server database
I have Implemented a mixed mode windows and custom STS claims authentication in an MVC 5 application. From SQL Server database, I can get a login user windows Username and check their Roles and...
View ArticleStream x Array of Bytes
I am developing a WCF service that will convert files. I will upload and then download the files. The files are not great. What is preferable in the case of sending and receiving return a byte array or...
View Articlei have 3 tier architecture - data access layer dll is not found
Dear all,I have started working in my asp.net project - I am now getting dll not found error and build is unsuccessful. I am getting error as dataaccesslayer dll is not found. If this is not working...
View ArticleHelp in building regurlar expression
Hi, Input:<xhtml><img src="" /></xhmtl><xhtml><img src="" pml="testpml" data-pml="xxads1" /><img src="" pml="xxads2"...
View ArticleMVC application with Search Server 2010 Express.
Hi, I want to create an MVC application, which can be refer the Search Server 2010 Express. Can anyone provide the sample code. Regards krrishbiju
View ArticleHow to convert .msg to .eml
Hi,Can anybody tell me how to convert a .msg file to .eml file. I could save a MailItem object as a msg file, but I need it to be .eml file. Is there a free 3rd party util or in built util ?
View ArticleDateTime.Parse throws error in windows 8.1, 32 bit machine
Hi,I have a PC with windows 8.1 and 32 bit 32 bit OS.In system, date time format has "." as the separator. I did not observe whether this is the default format or is this customized format.With this...
View ArticleExposing ADO.NET provider objects as RESTful and OData v4 service
Hi,We'd like to have guidelines or references that explain how to expose an ADO .NET provider (DbConnection, DbCommand, DbParameter and DbDataReader objects)... as a generic RESTful/OData service. This...
View ArticleWhy is ObservableCollection Constructor (List) and not (IList)?
ObservableCollection<T> inherits from Collection<T> which has the constructor defined as (IList<T>). Why not define the parameter as IList<T> or ICollection<T>?I can only...
View ArticleDirectory Information not existing even though it should exist
I have been using System.IO.DirectroyInfo quite a bit; however, I have recently found a huge flaw in it and I am not sure how to resolve it programmatically.I search for files directly that are stored...
View ArticleQuerying GUID Fields via LINQ Statements off EF Models
We provide our client with a "Query Builder", allowing them to select a field, an operator, and a value. They may select many such combinations "where clauses" to create their query. However, the vast...
View ArticleFunction in Visual studio 2013.
Hi everybody!Are there any function in consolapplication like "Linspace()" in Mathlab. If Yes, Which library must be installed to use this function?Thanks!
View ArticleChange each running .exe sound output device
Hello.I would like to know how can i change the playback device and also the input device for each running application shown in Windows Mixer.Ive done quite a search and all i found was some third...
View Article