File sharing through ASP.NET - asp.net

I am working on a web application where different users (online users) may share files with each other. I don't know how to implement this module, mean what should I study and search. It should be similar as we share files at FaceBook. I am working in ASP.NET/C#.
Any help, code etc will be appreciated. I have searched on Google but all results lead to
file sharing softwares which are not helpful for me.
Thanks

Tutorial here could you be good starting point. Not only the tutorial is very descriptive but also you can download the complete source code.

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.

Please advice about security issue when using bitbucket

I am new and I am not sure if this is a place to ask this question.
I developed a web site alone using wordpress framework.
Now, I got a guy who I don't know much to join me to develop the site. We live in different countries and we decide to use Bitbucket for code management.
I do not have any experiences in team working, Bitbucket.
My concerns are:
1. Do I need to upload both source code and database to Bitbucket?
Do you think he will just take all the source code and database and make his own website and become my competitor?
What should I be careful when working in a team? I mean sharing code.
I know maybe I am quite small-minded. I am worried about security problems.
But definitely, I need to have someone to work with me to develop the site.
Please advice and write any sources that are useful for this problem.
Thank you.
I'm not an expert in Wordpress, but the concept still applies:
Source code: yes. Database: no, only the database schema/ SQL scripts to recreate it.
Depends on his ethics. You should reach an agreement with him that guarantees that he won't do so, by writing a contract for example.
Take the following into consideration: coding standards, conventions are followed in naming variables, pages, urls, etc, repository privacy is set correctly, repository privileges are distributed to enable the contributors to do only what they're supposed to do.
I'll leave the rest to you and other fellows on this website to figure out depending on your experience :)

How to collect contact information from websites?

Does anyone know a web crawler tool for collecting contact details from a website? Say I have a www.website/contact.. I want to pull out the address, phone number, etc.. There are 2 tools I've been looking at: cralwer4j opensource jar for java and Scrapy opensource in Python. But I am finding it a bit hard to use for my scenario.
Any suggestions would be great. Thanks
You might google for "simple web crawler" to find a solution that fits you best. In the net there are plenty "pure python" based web crawlers. Based on sceleton code you add db wrap up. I think the most problem would be db setting and saving data in it.
What if there are 1000000s of websites to crawl.. Is there a way to crawl all websites in my are?
No problem for scripting. Just put millions addresses in a file (or files), open it for reading in python or other script. Then get link by link from it and crawl/scrape to your pleasure. Result you might also want to save in file (csv, json).
I'd also recommend you a ready simple python crawler.

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

Framework /starting point for social networking site in .NET?

I did do some googling and searching on this site but did not find exactly what I was looking for.
I'm hoping that someone can point me in the right direction here. I'm an ASP.NET/SQL Server developer and would like to develop a (intially) basic social networking site (gasp). Before I start from scratch with a blank solution in ASP.NET, I'm wondering if there are any frameworks out there ASP.NET specific that would serve as a good starting point. I'm already thinking of using the Google Maps jquery control for my Google Maps integration, as well as the 'sharethis' control for my social networking website sharing integration. Captcha for human authentication... But other than that I'm not sure what I can leverage... Nothing on Google jumped out at me on my search terms.
I'm also wondering if anyone else has done something similar and could share their post mortem/war stories with me.
I'm also open to learning a new platform/language if it would mean saving time - my experience is mostly in ASP.NET, so that is what I plan on using if it makes the most sense. My initial requirements are basic and realistic - profile setup (images, information, etc.), 'group' creation, Google Map integration, calendar controls shared by groups, SMS support, discussion forums among groups, searching for groups, OpenID integration most likely, etc. I am not going to try to build the entire site and then release it, but take baby steps and release pieces of functionality at a time.
Any advice is greatly appreciated for a broad question such as this. Thanks again.
I've found DotNetOpenAuth which seems to be a nice API for handling OpenID for ASP.NET web forms. They also have an ASP.NET MVC version
I also found MS Web Platform. This looks like some good stuff. Anyone ever use it and think it would do well for this sort of app?
I found a library for DotNetNuke called ActiveSocial. It's priced right ($500) and has more than the features I need but lacks some. I wonder if anyone here has ever used AS before. Is DNN easy to extend so I can add Google Maps functionality and such? It doesn't say anywhere on snowcovered (the vendor that sells AS) if AS comes with the source. If it didn't, then I might be screwed because I wouldn't be able to integrate the functionality I want.
I went through this exercise about 15 months ago when I built a SNS for a client. Hoping to find some basic framework for Friends, Chat, Profiles etc I was pretty disappointed.
That said, in retrospect I wish rather than building one that we would have purchased a solution like Community Server. As with most projects I looked at the problem scope with beer, no strike that, ambitious goggles on and the level of work to cover all the edge cases was more than I imagined.
Tread careful my friend, tread careful.
I think this is what you're looking for. Kigg is an open source ASP.NET MVC app that would be a good starting point for what you want. Here is the url: http://www.codeplex.com/Kigg
You can also find a site that is using this here: http://dotnetshoutout.com/
At the very least you will learn the ASP.NET MVC framework which is fantastic.
While not exactly intended to be used for social networking sites, both of these frameworks can help you so you don't have to start from scratch:
DotNetNuke: http://www.dotnetnuke.com/
Umbraco: http://umbraco.org/
Also, for an out of the box solution (no code involved) you could always try this: http://www.ning.com/
Good luck!

Resources