Custom .NET Application Search Solution Needed [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
We are developing a custom .NET directory listing style application for a client and we require a powerful search solution. The application will be built in ASP .NET C# on SQL Server 08. The application is based around data which users to the organisation can enter in a profile management style area. Fields can be textboxes, textareas, selection boxes, multiselects etc. A user from the main website needs to be able to use the search function to find a result, but this result should search the entire database and not only base the results on one or two fields. It could be anything within any of the fields the user can fill out or select etc.
Can anyone help me find a possible solution for a .NET powered search engine we can use for this application? It must be preferably C#, running on .NET 3.5 and SQL Server 08. The database is a completely custom built schema and so there is no schema example to show or that can be shown.
If you need more information to provide a satisfactory answer let me know and I'll try to provide some more information specific to what you ask.
Thanks, Cian

Checkout Lucene.Net.
Lucene.Net is a source code, class-per-class, API-per-API and algorithmatic port of the Java Lucene search engine to the C# and .NET platform utilizing Microsoft .NET Framework.

You might want to check out Lucerne.NET, which is the search solution used by StackOverflow

In addition to Lucene .NET (which I've used and is very good), you could also consider SQL Server's Full-text search. This is also very powerful and if all the data you need to query is in the database is another good option for you - we used it for a large enterprise management system and it worked well for us.

Related

ORM framework to legacy database without SQL support [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
We're going to start writing C# programs against a old legacy database from the early 1980s. There is no support for SQL or relationships, and communication with it is through Telnet commands.
I'm thinking of using some sort of ORM framework, or write my own. My question is if there is any good framework that is possible to easily adapt to these special conditions?
I want to be able to map the classes in my program against tables in the database and work with the database in a modern way, without having to think about the complex telnet commands and the translation of the returned information into something meaningful.
I find it hard to believe that such datasources have any usable adapters today. Think of what kind of operations you will need and construct an ORM with any commands you may require. Depending on structure and data this may vary in a lot of different ways. Some questions you may take along in this project are
Can we standardize CRUD operations or do we have to build a DTO api
Shall we be able to handle any binary data
What pattern shall we use in our C# code and will C# suffice
When it comes to DTO-Api's I like to implement CQRS (Command Query Responsibility Segregation, read this http://msdn.microsoft.com/en-us/library/jj591573.aspx). If you are constructing an ordinary CRUD-Api you will most likely have to separate your code differently and resolve each command type dynamically (if possible).
Feel free to e-mail me, you should be able to reach me in the corp-ad.

End user reporting designer for .NET App [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am designing a .NET desktop app for a small clinical lab. They do stuff like blood tests etc...
When they perform a test they need to print a report. Users should be able to define new types of tests in the system and design the report (that is given to the patient) for that test.
So I need a reporting designer with the following capabilities.
can be integrated in to a desktop app
can be used by non technical users to create reports
Take a business object as the data source
Report can be saved in a central location so all the users can access it
Once the report is created and saved, the system should be able to populate it with the necessary data (a report of a patient).
Should be able to define new reports based on a template - as the report header is same for all types of reports (It has patient data etc...).
Can you point me to a component that supports all of the above requirements ?
Thanks in advance.
I was for some years in a company that developed a custom Report Designer, and we used components from DevExpress.
https://www.devexpress.com/Products/NET/Controls/WinForms/Snap/
The requirements you presented, I belive you can do with the DevExpress component, but it will take some work, and the features aren't available out-of-the-box.
There are others components but I don't know them in detail, but you can check them
http://www.componentone.com/SuperProducts/ActiveReports/
and
http://www.telerik.com/products/reporting/creating-reports.aspx

Tutorial for C# web development [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
All,
I am looking for some good tutorial material to learn C# web development. Basically, I want to create a c# web form which would extract data from Oracle database and would give provision for the user to edit the data. I also want to have security for this website. I found some materials but it had SQL Server as the backend. I installed ODP.NET but don't know how to setup the security and add the web forms.
As, I am a new programmer for C#(have previous programming experience), I don't know where to start.
Any guidance would be appreciated.
Thanks,
Have you looked at any of the asp.Net starter kits?
For permissions to edit, I'm assuming you are referring to the website, take a look at the ASP.Net Membership provider. If you are using Oracle this won't be as cut and dry as using SQL Server, but still doable.
Another option is you can role your own membership provider or a custom implementation.
To learn ASP.NET C#, there are plenty of tutorials articles on the web. For a book I recommend: ASP.NET 4 Unleashed
Update
It appears that Oracle provides an ASP.NET membership provider.
For MS-SQL, you use System.Data.SqlClient
For Oracle, you can use the MS provided ADO.NET provider:
System.Data.OracleClient
You can get the connectionstring from connectionstrings.com
Oracle has it's own ADO.NET provider for .NET now, and you should use that one instead of System.Data.OracleClient, because MS is not maintaining the System.Data.OracleClient code anymore.
For the webforms part:
Don't use ASP.NET WebForms. Use ASP.NET MVC 3 + JQuery.
You have to manage permissions yourself.
It's best to do it in a http module.
Another way is to use System.DirectoryServices to access the ActiveDirectory.
Visual Studio has an integrated development testserver.
Use that one.
If you use AJAX, be aware that IIS7 runs in IntegratedMode, while the development server runs in Classic Mode. Which can get you errors caused by the web.config file (sys not defined for example), or integrated security might not work, because in integratedMode, it runs as network-service user, and not as the current windows user.
Have a look at this blog post, its a great start:
ODP.NET C# Tutorial for Beginners Using Oracle and ASP.NET

Software usage analytics in C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have a project i am working on currently and would like to implement some sort of software tracking in the code. ideally, stuff like how often its launched. how long it runs for, feature tracking, etc. I already use Exceptioneer for unhandled exceptions, but would like something similar for usage tracking.
this data should all be anonymous and ideally run as a service by someone else. and i would like to give the users the option to turn it off, if they so wish to... So, is this something i should implement myself, or are there third parties out there that do this sort of things? i know it might be a sticky area, but i have seen stats about iPhone app usage. they do it, so why cant we? (if the user agrees, of course)
[Update] Based on the comments, i should have been more clear. this is a Winforms .NET 4. application, though i am thinking of updating it later with WCF. i would only be tracking my own application, though i would also want to know minor information about environment (Windows OS Version, SP, maybe proc and ram...)
+1 to deskmetrics. There is an library for .net apps. Check out: https://github.com/deskmetrics/NET
I've heard they're investing pretty hard on others platforms (like Adobe Air and Mac/Cocoa). It is worthy to keep eyes on them.
Well, i've seeing watching fantastic user feedback on DeskMetrics, a company that calls itself 'Google Analytics for Desktop Software'. They've been profiled recently on TechCrunch, so i'd recommend to keep an eye at their product.
There are several third party products that do this kind of software analytics. One of the better ones is called Aternity.
See: http://www.aternity.com/
It seems after a bit more digging, i have found a couple of sites that offer this. any extras, please leave a comment:
Premeptive Runtime Intelligence: Free community version
DeskMetrics: free for one app, $49 for more...
any other suggestions?
You can also use google analytics to track your app usage.
GaDotNet is a free library to integrate Google analytics tracking in your application:
more info here : http://www.diaryofaninja.com/projects/details/ga-dot-net

Embedded FTP Server with C#? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there any open source .NET-based (no Win32 native, ActiveX, COM+ etc) library so I will can easily set up a ftp server? It is going to be a ftp server that will update a SQL Server database, and not regular files.
Thank you.
I think it is worth mentioning the Lumisoft.NET library which contains an FTP server component. I haven't used it myself but it appears to meet your requirements (100% managed FTP server library). As a bonus it is free for private and commercial use (similar to LGPL).
I am attempting to do a similar thing (FTP server getting files and folder structure from SQL database). I've been using darwen's FTP server on Code Guru.
It does have some problems, notably cross threading issues, but with a little work these can be fixed. Also of note is to check that it uses the correct format for the IP addresses.
I have found this works for connections from FileZilla, but as yet I haven't been able to connect to it directly from windows explorer. I have been unable to find anything better for free.
http://www.codeproject.com/KB/IP/AdvancedFTPServer.aspx is very good
http://sourceforge.net/projects/xfftp/
For my FTP needs I use edtFTP.
Also, something you might want to look at is FTPLib.
Both are free and .NET

Categories

Resources