Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've developed a console application using Rider IDE by JetBrains.
What I wanted to know is if there's a way of build an UI using Rider IDE?
Or a plugin which creates the basic setup for an app with UI?
Q: Are you also developing a GUI designer like in Visual Studio for
WinForms, WPF etc? A: Yes, we’re looking at how we can support at
least previewing WinForms/WPF/Xamarin Forms. We’re not sure we’re
going to make it for the first release though.
JetBrains already published the answer,
https://blog.jetbrains.com/dotnet/2016/11/28/introducing-rider-the-new-net-ide-webinar-recording-and-qa/
Generally speaking, they can easily support that on Windows (as open source IDE SharpDevelop already supports that). But it would be a less useful feature as Rider targets cross platform developers.
I'm not using Rider myself, but quickly browsing for its current state on UI designers, it doesn't seem to have any, especially not for Windows Forms / WinForms. It would only let you create a UI by writing the code for setting up the windows and controls manually.
Given that WinForms has not been under any serious development since more than a decade now by Microsoft itself and that it's a "dead" technology nowadays with WPF / UWP being the new "technology to use" on the Windows platform, it's doubtful JetBrains will ever care about implementing something like a designer for WinForms in their Java-based IDE, if it's possible at all.
If you really want to develop WinForms applications, you should go for Visual Studio. It has the best designer for it out there IMHO, and even that one is horrible. The "best" you could do is to design only the WinForms Forms and Controls in Visual Studio Community 2017 (which is free), and write the remaining code in Rider, copying over the designed Form or Control classes or creating a project/solution sharing folders.
It does not look like Rider supports designers for any other Windows / Microsoft technology like WPF / UWP aswell. WPF does have a more code-friendly approach to generate a user interface with declarative XAML, but the missing IDE support for generating the code-behind and unavailable IntelliSense support could make make that a frustrating if not impossible task.
A third party, cross-platform UI framework based on NuGet packages and .NET Core could be Avalonia. The project tries to recreate WPF from scratch with open source implementations. It also only offers an extension for Visual Studio for a visual designer, but as with WPF, the UI can be written in XAML, and loading it is done more transparently with a few manual lines of code, which seems more doable if you're missing first-class IDE support.
As others have already told Rider has NOT windows forms designer. And moreover there is no plans to implement it.
But Rider has powerful xaml support (a markup language for WPF) and we are going to release a first version of WPF controls previewer later (probably even this year). So we are focusing on improving experience for WPF and Xamarin developers.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to make an Windows Desktop Application for Windows 7 and above.
Can someone tell me how can I start? I have tried searching on Google for developing apps for Windows; all I’ve found so far is UWP (Universal Windows Platform) which I believe works for Windows 10 and above. I have even checked the Microsoft docs and all they are telling is about Windows 10 apps, not a word about versions below it.
Can someone tell me if I make an app for Windows 10 will it work with earlier versions too? As the main requirement is developing for Windows 7.
I have been doing coding for 3-4 years so I know coding. I just want to start from right path. Please guide me.
Jason is right to a point, UWP is the modern way, but I would actually recommend WPF which was designed to replace Windows Forms.
It uses modern techniques and methods with C# like Caml for the UI layout, MVVM, View Model bindings etc, and it's all transferable skills into UWP and Xamarin mobile apps. As an aside Xamarin Forms are looking to build out WPF apps in future releases for true cross platform apps so it's a good framework to learn for Windows desktop.
Start here - https://learn.microsoft.com/en-us/dotnet/framework/wpf/getting-started/walkthrough-my-first-wpf-desktop-application
You are right that UWP is for Windows 10 and above, so I would stay away from that in your case.
What you should start with is a simple basic Windows Form development in C#.
Download and install Visual Studio 2017 Community Edition from here: https://www.visualstudio.com/downloads/
Then I suggest looking for tutorials online for Windows Form apps in C# which can guide you through it.
Here are a couple that could help.
http://www.guru99.com/c-windows-forms-application.html
https://www.youtube.com/watch?v=yGHzNunW8M8
There are more but they are for older VS Studio versions, but the principals are the same even if the UI is a bit different.
The DotNet Framework takes away a bit the dependency upon a specific windows version. As longer as your windows version can run the DotNet Framework version you are targetting (compiling for) then it will work in most cases.
Best to first find out which DotNet framework version is installed on your target PC and then build for that, or upgrade it.
It might look a bit different on different windows version, so if you are compiling on a different platform to what you are running on then it is best to make sure that you do testing on your target platform.
This shows how to change your target DotNet version in Visual Studio: https://www.youtube.com/watch?v=E36kiGWfGCQ
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I'm working on an Asp.net MVC + WebApi application that's using Azure (SQL, Storage) in the back and Angular in the front. Locally I'm running MS SQL and Azure Storage Emulator. But I desperately need some extra development brains because there's just too much work to do.
I've got a good client-side developer that will be able to help me on the Angular part of the app as well as on LESS files. So pretty much the client-side only.
The problem is that he's never used Visual Studio and doesn't intend to start doing so just for this project. He's used to client-side tools, smart editors like Sublime and similar and client automation services like Grunt or Gulp that could replace Web Essentials auto compilation of LESS files.
But there'll always be the problems of *.csproj files (they'd likely mess it up with manual edits if at all), app compilation (although that would be possible with some batch files), manage NuGet packages, database upgrades etc. It just seems too complicated without Visual Studio's automation.
So how can you sufficiently work on a .net project without Visual Studio (or WebMatrix)? and still be able to:
add new/remove/rename files in the project
add/remove/upgrade NuGet packages
compile the app as other devs may've changed backend to support something new on the client
else?
Who has done it, which tools should be used and how painful is it?
Note: I'm not asking about software recommendations even though may read that way. I'm mostly interested in your experience and whether I should force that developer to go hands on with Visual Studio or not...
I'm not going to say that it isn't possible to work on a Visual Studio project without Visual Studio, but I'm definitely going to say that it isn't at all feasible.
If you are building a Microsoft MVC system within Visual Studio, then you have made that system dependent on Visual Studio. The 'Solution' and 'Project' files are dependent on Visual Studio. Even though they are technically XML files that can be manually manipulated, it's just not feasible to go that route.
If your developer has the resources and capabilities of installing/using Visual Studio, that's the route that s/he needs to go. The fact that s/he has no prior experience working within Visual Studio, to me, isn't a good excuse.
IMO :-
You should force the developer to use VS because in the end it is
just a tool to use, with lot helpful(needed) features.
The porting of Project would required hell of a effort and Skills, So
in the end you will waste most development time in it than it would
take the developer to get familiar with VS.
This would be good for developer to learn and expand his
knowledge-base about IDEs, If he is thinking that it would be hard or
not interested to learn new stuff. Then I think you got the wrong guy
:)
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am .Net Developer who started using Mac OS. The only thing that I miss on this system is "VISUAL STUDIO".
I don't wanna use two systems, What do you think in order to develop .Net application
Do you think that I should install Virtual box and use Visual Studio
http://zeus.cs.pacificu.edu/chadd/InstallVisualStudioOnYourMac.html
Or Just use Mono Develop? Is Mono Powerful enough to develop application that is compatible with Windows and run on Mac ?
I am purely .NET developer, but lately also developing iOS applications with using Xamarin (new name for mono libraries) and Xamarin studio (rebranded Monodevelop).
So, if I understand you correctly and you still want to develop .NET applications but just working and "live" in MacOS, the I would say that you have no chances.
Even if consider, that you can have an ability to write code (and even to have some .NET libraries to use even there) in Monodevelop, that's just incomparable, how VisualStudio is amazingly convenient for developer (especially, for native .NET one) and how many plugins it has.
So, from my point of view, there is even no talk: you must use VisualStudio in any case! Even if you use it in Remote Desktop.
UPD: Time flows and things change. Currently .NET is really spread even to Mac. Visual Studio Code been released for coding and Xamarin became available for Free since the answer was asked.
However, one thing will probably never come true: I am doubting Visual Studio will ever be able to migrate from Windows. It will be rather some new product or extending of Visual Studio Code.
Of course you can use Mono to develop an application that is compatible with Windows, although Mono is nowhere near as robust/easy to use/ feature filled as VS.
That said depending on the type of application you plan to develop, it may make sense to install windows in a virtual box so that your application can actually run on your computer.
For example, if you are trying to make a Windows Forms application, your app ( which can be completely developed in Mono, but will not run on the native OS X. This will most likely make debugging a nightmare.
If you're on the fence it might make sense for you to download a 90 day free trial of a windows OS from microsoft, run that in a virtual box and try out visual studio.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I'd like to know if there are effective and open source tools to develop C# applications on Linux (Ubuntu). In particular, I have to develop Windows Forms applications.
I know about the Mono project, but I've never used it. What are the best tools (IDE, compiler, etc.) to set up a .NET developing environment on Ubuntu?
Is software developed on Linux runnable on Windows? Are there different behaviors or incompatibilities?
MonoDevelop, the IDE associated with Mono Project should be enough for C# development on Linux. Now I don't know any good profilers and other tools for C# development on Linux. But then again mind you, that C# is a language more native to windows. You are better developing C# apps for windows than for linux.
EDIT: When you download MonoDevelop from the Ubuntu Software Center, it will contain pretty much everything you need to get started right away (Compiler, Runtime Environment, IDE). If you would like more information, see the following links:
http://monodevelop.com/
http://en.wikipedia.org/wiki/MonoDevelop
http://en.wikipedia.org/wiki/Mono_%28software%29
http://www.mono-project.com/Development_Environments
Now Microsoft is migrating to open-source - see CoreFX (GitHub).
This is an old question but it has a high view count, so I think some new information should be added: In the mean time a lot has changed, and you can now also use Microsoft's own .NET Core on linux. It's also available in ARM builds, 32 and 64 bit.
Mono Develop is what you want, if you have used visual studio you should find it simple enough to get started.
If I recall correctly you should be able to install with sudo apt-get install monodevelop
I would suggest using MonoDevelop.
It is pretty much explicitly designed for use with Mono, and all set up to develop in C#.
The simplest way to install it on Ubuntu would be to install the monodevelop package in Ubuntu. (link on Mono on ubuntu.com) (However, if you want to install a more recent version, I am not sure which PPA would be appropriate)
However, I would not recommend developing with the WinForms toolkit - I do not expect it to have the same behavior in Windows and Mono (the implementations are pretty different). For an overview of the UI toolkits that work with Mono, you can go to the information page on Mono-project.
Mono is a runtime environment that can run .NET applications and that works on both Windows and Linux. It includes a C# compiler.
As an IDE, you could use MonoDevelop, and I suppose there's something available for Eclipse, too.
Note that WinForms support on Mono is there, but somewhat lacking. Generally, Mono developers seem to prefer different GUI toolkits such as Gtk#.
You can also install it using conda (tested on Ubuntu):
conda create --name csharp
conda activate csharp
conda install -c conda-forge mono
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I need to be able to generate dependency diagrams programmatically. I'd like it to be able to generate a bunch of boxes with labels and connectors linking them, and ideally the component would position them automatically onto a design surface which could then be manually rearranged.
I'm using WinForms and C# 2.0 (VS2005).
EDIT: However, since it'll be an internal tool, I can probably use 3.5 SP1 and WPF if there any suggestions in that arena.
Must be free or open source.
Any recommendations?
Too late for the questioner but perhaps interesting for researchers:
NShape
NShape is an Open Source diagram designing framework for .NET
WinForms. Software developers use NShape to integrate diagramming
capabilities into their applications. Using NShape, applications let
users view, annotate, modify and create diagrams like flow charts,
wiring schemes or project charts. NShape is open source and has a dual
license which allows it to be employed for free in open source
projects and for a license fee in commercial projects.
Did you try the CodeProject article series by Sukram:
WPF Diagram Designer
Here is some references which might be interesting for you:
Diagram.NET
Diagram.NET is a free open-source
diagramming tools written entirely in
C#.
Put Diagram.NET WinForm Control into your form and, like Microsoft Visio®, the user can draw shapes and links. With some code you can control, change, add and delete these elements.
Microsoft Chart Controls
The samples environment for Microsoft
Chart Controls for .NET Framework
contains over 200 samples for both
ASP.NET and Windows Forms. The
samples cover every major feature in
Chart Controls for .NET Framework.
They enable you to see the Chart
controls in action as well as use the
code as templates for your own web and
windows applications.
You might want to take a look at GraphViz which is being distributed under CPL (i.e. free of charge). It is not exactly for .NET/WinForms but can be useful anyway. The library's main purpose is to visualize graphs (and dependency diagram is effectively a [directional] graph). You can use it to either get an image (graph layout) or an array of points (coordinates for you items).
OpenDiagram
Open Diagram is the definitive open source .net diagramming
component library for the .Net framework winforms environment.
Use Open Diagram to add interactive data visualizations to your .net
applications.
I have tried it with WinForms, works very well.
I have similar request as yours. Here's one open source solution for drawing diagrams. It's from Microsoft and samples written in C#.
https://github.com/Microsoft/automatic-graph-layout
Here's one that renders to HTML5 (You can easily extend to Visio) from GridWizard/Github
Source code: https://github.com/gridwizard/SimpleFlowDiagram
Wordpress doc: https://gridwizard.wordpress.com/2015/03/25/simple-c-library-to-render-graph-to-flowchart/
Downside is, you need a viewer to display HTML5. Alternatively, SimpleFlowDiagramLib already calculate Node.x and Node.y - you can render it to Winform/WPF yourself (but then you need to code rendering yourself)
Vote for NShape. More or less it's fine.