How to start using MongoDB? - asp.net

Can any one tell me how to start using MongoDB with ASP.NET and C#?
I have Visual Studio 2005 and I'm not using ASP.NET MVC.
Thank you!

Have you read the "Getting started" section of the MongoDB docs?
There's even a page with various C#-drivers for mongo.
If you run into any problems after reading what you can find there I'd be glad to help, but if you don't have any problems and just need step by step directions, that site is definitely where to start. Stackoverflow (or any other stackexchange-site) is not. Come back when you have an actual question :)

Related

SPA from empty project - integrate Azure AD Active directory

I have been creating a SPA from an empty ASP.net Project and i want to integrate Azure AD Authentication to the project.
Anyone know of any good step by step guide to do this or something similar?
I was reading a bit on this post by Microsoft, but I don't think I understood it quite well.
Error During Authentication Detection
My best suggestion here is to simply follow one of the open source solutions for single page applications which you can find on our GitHub here:
https://github.com/Azure-Samples?q=singlepage
Along with the full source code for all the working solutions, we also provide instructions on registering your app, configuring it, and running the sample.
Another thing that is brand new, which you might find helpful is our Application Quick Start which is available here:
https://identity.microsoft.com/Docs/Web
This does not exactly tackle the intricacies of a Single Page Application, but should be a really quick way for you to just copy and paste code which enables your app to use Azure Active Directory Sign-On.
Let me know which one you found better helped you and why! We would love to hear more feedback here on the investments we are making in documentation.

I need help integrating and using elFinder with ASP.NET

I have been playing with this for a day and cannot seem to get it to work.
elFinder has many options for connections, such as PHP and Python among others. Someone made a third party ASP.NET connector for it and it was reported that it worked.
Here is the page for the DLL for it:
http://elfinderconnectornet.codeplex.com/releases/view/55319
I am having tremendous trouble figuring out how to hook the existing elFinder to ASP.NET.
I hope to find someone who has had some experience with this and can assist me. I'm not sure what other information I can give you.
Any help is appreciated.
There's an even better option right now called ElFinder.Net Connector hosted at CodePlex. The coordinator and main developer of the port Evgeny Noskov is a super considerate person and he listens to feedback and acts as you can read here in a discussion I posted:
Add startPath and uploadMaxSize to connector options
I liked elFinder.Net so much that I wrote a post to showcase a simple use case that is a great fit for it:
Manage folders & files in your ASP.NET MVC app with elFinder.Net
Hope it helps.
See here: http://elfinderaspnet.codeplex.com/
For now it provides some basic functionality but seems to be usable.
ElFinder is very easy to configure and use.
I did some research on 'Implementing ElFinder on multiple pages using MVC' and found "ElFinder.Net Connector" NOT AVAILABLE.
Download the simple MVC sample project from here

What are the steps to follow to make a query and use it on a ListPage Form?

Could someone tell me the steps to complete to have a query and use it at a ListPage.
The development takes place in Microsoft Dynamics AX.
Thank you in advance.
Start by reading MSDN. When you are ready, you will find lot of list pages in the applications.

Asp.net mvc view engine - to roll my own intellisense

I'm creating a little special purpose view engine for asp.net mvc. That goes well enough. But i've been looking around to find information on how to somehow add intellisense for the C# code embedded in my view.
I can see Spark does that, but going through the sources, I still can't see how. And WebForms view engine does it - not surprisingly - to perfection. Does anyone have any suggestions or links or anything related on how to do that?
Update: Just to let readers know, I'm still looking for a solution! So keep the answers coming :) ... I will post back here too, whenever I find out more.
/Asger
Looking at the Spark source, it appears that he is hosting his editor within the Visual Studio 2008 IDE, in a way that he is getting the C# intellisense for free.
You might want to check out the Visual Studio 2008 SDK 1.1, and see if there's something in there that will help you.
http://www.microsoft.com/downloads/details.aspx?familyid=59EC6EC3-4273-48A3-BA25-DC925A45584D&displaylang=en
You might find some clues here:
How do I add intellisense to my application?
Googling this is maddeningly difficult, as you get all kinds of hits on enabling intellisense, how wonderful intellisense is, how bad intellisense is, etc.

Quickest and easiest way to set up a web page to search an SQL database?

I usually only work on system admin projects and software packaging and have little knowledge of web technologies, but I've been given the task of building a simple website that searches an SQL 2005 database from the users input and lists the results. That's it.
Can anybody help me out with some sample code or some such? Since we're a pure Microsoft house, it will be running on SQL 2005 and IIS so I'm assuming I'll need to use ASP.NET, but perhaps my inexperience is leading me down the wrong path.
Any help or suggestions would be much appreciated!
You might want to look at ASP.NET Dynamic Data. This is exactly the scenario it was designed for.

Resources