Comments (29)
It's actually a very good idea, thanks for suggesting it 👍
I'll ping @jerriep and see if we can reuse his blog post to add a CONTRIBUTING.md
file in all the aspnet-contrib projects.
from aspnet.security.oauth.providers.
Of course, feel free to use it as a starting point and then we can refine it as we go along.
from aspnet.security.oauth.providers.
Also,
can we use a .vsssettings
file instead of something resharper specific? I wrote this blog post recently and since I have abandoned resharper. Also I spend half of my time in ubuntu on monodevelop so..I never have resharper anymore. Plus resharper is a paid product which could alienate people who wish to contribute to this library, that cannot get access to such software.
from aspnet.security.oauth.providers.
Of course. The main thing which may be different from what most people are used to is that the opening braces are at the end of the line.
I am not familiar with the .vsssettings file, so if you can create one and submit a PR it would be great
from aspnet.security.oauth.providers.
Just curious...any reasons why we are coding java style?
from aspnet.security.oauth.providers.
Haha, not sure :) @PinpointTownes can answer that one.
He's the boss and I'm marching to his tune ;)
from aspnet.security.oauth.providers.
Just curious...any reasons why we are coding java style?
Well, K&R was the main coding style in MSFT until ASP.NET MVC 3 😄
Personally, I kept using it as it's a perfect compromise between code clarity and code length, but I guess it's a matter of personal preference.
can we use a .vsssettings file instead of something resharper specific?
Sure, I can upload mine if you want. But I guess you'll have to manually import it and that it will override your global configuration? Or maybe a plugin like CodeMaid has something built-in for project settings?
from aspnet.security.oauth.providers.
But I guess you'll have to manually import it and that it will override your global configuration?
Yes, you're going to rewrite the local settings for the whole Visual Studio:
can we use a .vsssettings file instead of something resharper specific?
I don't think there's a way to set coding preferences per-project instead of "per-everywhere".
I wrote this blog post recently and since I have abandoned resharper.
😒
ReSharper is the single most useful productivity extension and memory hog for Visual Studio (totally unbiased opinion).
I am not familiar with the .vsssettings file, so if you can create one and submit a PR it would be great
That's a possible solution: you set the guidelines (in the CONTRIBUTING file, in a ReSharper configuration file, in a CodeMaid configuration file, and so on) and everybody codes where and how they like but the pull-requests must conform to the given guidelines to be accepted (they are checked by someone with ReSharper).
from aspnet.security.oauth.providers.
Is there not an open source utility that does something like this?
I am not too familiar with it, but I believe in the JavaScript world JSLint will check this for you. But I am speaking under correction.
from aspnet.security.oauth.providers.
Is there not an open source utility that does something like this?
I am not too familiar with it, but I believe in the JavaScript world JSLint will check this for you. But I am speaking under correction.
One I know is CodeMaid.
Oh, don't forget about Code Analysis:
It's not as thorough as StyleCop (RIP) but it's still useful.
Beware that I don't know if it's available in every edition of Visual Studio (it's there in 2015 Community Edition).
from aspnet.security.oauth.providers.
Ahh, OK yes I see @PinpointTownes mentioned CodeMaid above as well as well as you in your post. Sorry...
Yes, then we should set up CodeMaid so people can run it over their code before they commit. That would be the easiest.
from aspnet.security.oauth.providers.
CodeMaid is definitely fine. Anything that lowers the barrier to entry is where its at.
from aspnet.security.oauth.providers.
@kappa7194 https://www.nuget.org/packages/StyleCop.Analyzers/1.0.0-beta009
from aspnet.security.oauth.providers.
Have a look at this as well. It is used by the dotnet team:
http://blogs.msdn.com/b/dotnet/archive/2015/02/09/automatic-code-formatter-released-to-github.aspx
from aspnet.security.oauth.providers.
That's a possible solution: you set the guidelines (in the CONTRIBUTING file, in a ReSharper configuration file, in a CodeMaid configuration file, and so on) and everybody codes where and how they like but the pull-requests must conform to the given guidelines to be accepted (they are checked by someone with ReSharper).
I never merge a PR as-is. PRs are always cherry-picked and verified: if code style fixes are needed, they are immediately applied and squashed before being pushed. It takes a bit of time, but we're sure we don't have inconsistent providers 😄
I'll take a look at CodeMaid and give it a try. In the meantime, don't worry about sending a PR with inconsistent code styling, it will be fixed at some point before merging 😄
@tparnell8 does it now work with DNX (ASP.NET 5) apps? The last time I tried, they were not supported.
from aspnet.security.oauth.providers.
The comments from you guys about Resharper have made me re-evaluate its use in my development. I simply love Resharper, but with VS 2015 Microsoft has taken massive leaps forward in providing many of the things which I used Resharper for. And yes,
The community is also adding a lot of stuff of top of that using the Roslyn compiler.
So I am going to experiment for the next week or so and see whether I can get by without using Resharper.
from aspnet.security.oauth.providers.
I'll start working of putting together documentation for contributors
from aspnet.security.oauth.providers.
Resharper is like a drug, once you get over the 2 day hump everything seems fine. Also there are a fantastic assortment of open source extensions that really improve the editing experience of VS, without the performance implications of resharper (I notice it really slows down my editor).
from aspnet.security.oauth.providers.
CONTRIBUTING.md added: 385393e
Concerning the code style thing, I'm convinced it should be mitigated by the new Yeoman generator added by @jerriep.
from aspnet.security.oauth.providers.
I am sad (or I guess happy?) to report that my attempt to go without Resharper lasted mere hours... I could see a marked improvement in the speed on the IDE when I turned Resharper off, but I just found it too hard to go without it... :(
from aspnet.security.oauth.providers.
what feature(s) were you missing that you 'had to have'
from aspnet.security.oauth.providers.
The only thing I miss is the resharper intellisense. TBH their intellisense is ungodly amazing, but I have learned some tricks to improve the regular VS intellisense.
from aspnet.security.oauth.providers.
Yeah, their intellisense was one of the major ones. The ability to just type any part of the identifier and it will list it for you - even when it is in a namespace which is not referenced yet. The VS camel humps are good, but it does not come close to Resharper.
I also use a lot of other code fixes which I could not quite find equivalents for. Like declaring a field and then instantly have Resharper initialize it through the constructor.
I should actually turn it off again and then make detailed notes about the things which frustrates me to go without. It would make good material for a blog post ;)
from aspnet.security.oauth.providers.
hmm I forgot about that one the .ctor initialize we could make a VS plugin...
The VS intellisense won't auto complete the non referenced classes, but if you type the whole name of a Type that is not referenced you have like a 1/3 that it will lightbulb for a using statement.
If you document what you don't have/like I/we can try to make extensions for it. I'd mostly like to improve the experience for people whom do not have access to resharper.
from aspnet.security.oauth.providers.
Sure, I will do the experiment again and write a blog post with a nice click-bait title like "I turned Resharper off for a week and you will NEVER guess what happened next..." ;)
from aspnet.security.oauth.providers.
Alrighty
from aspnet.security.oauth.providers.
it would be cool if you could ref my blog post ;)
from aspnet.security.oauth.providers.
Oh cool, I also subscribed to your RSS feed so I can monitor it for potential content for ASP.NET Weekly
from aspnet.security.oauth.providers.
sweet I have 2 posts I have already written, I think both will be relevant, I will be publishing one in a day or two and the other the following week.
from aspnet.security.oauth.providers.
Related Issues (20)
- MyGet.org is down HOT 6
- Update AspNet.Security.OAuth.LinkedIn to work with Sign In with LinkedIn using OpenID Connect HOT 2
- Weixin use qrcode login HOT 2
- Unable to retrieve OpenID configuration for Apple HOT 11
- how to implement external login provders(linkedin) login using .net core with openidconnect? HOT 1
- Twitter v2: The oauth state was missing or invalid. HOT 6
- X/Twitter v2 iPhone Browser Interception Issue: Correlation failed. HOT 7
- Cannot register all BattleNet Provider Regions at the same time. HOT 5
- Okta Provider not respecting Options settings HOT 3
- Multiple tenants for Okta at runtime HOT 3
- Unable to obtain authorization during callback after logging in using QQ HOT 3
- Angular client HOT 2
- I could not authenticate by Linkedin when I redirected to redirect_url after confirm linkedin page authentication HOT 2
- Add Atlassian Provider
- How do I update Claims (Discord provider)? HOT 1
- Where to place logic adding additional claims obtained via an alternate REST endpoint HOT 1
- Sign in with Apple returns 'invalid_client' error for the first try HOT 4
- LinkedIn Authentication Fails HOT 2
- QuickBooks. Doesn't contain Sandbox settings. HOT 3
- Neither first name nor last name populated in claims principle by Apple provider HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnet.security.oauth.providers.