edgixshua / looker Goto Github PK
View Code? Open in Web Editor NEW.NET Core service to retrieve software/technology based events from EventBrite & publish them to a SharePoint calendar
.NET Core service to retrieve software/technology based events from EventBrite & publish them to a SharePoint calendar
Suggestion #1:
HttpClient
is intended to be reused, instead of creating multiple instances for a request, you can use one HttpClient
instance to handle multiple asynchronous requests
Line:
Looker/Looker/Looker/Program.cs
Line 29 in 4271012
Suggestion #2:
The ToEvent
method looks brittle, it uses long.Parse
which will through various exceptions in certain cases, there are no sanity checks performed to see if the string is a correct Int64 and if it contains content. It may be good to use TryParse(string, out long);
Line:
Looker/Looker/Looker/Program.cs
Line 50 in 4271012
Suggestion #3:
Instead of concatenating the URL you could use a UriBuilder
to do this for you, and pass a Uri
object to your GetX
methods. Using a Uri
object will add an extra bit of sanity that says this is a correct URL
before it gets as far as attempting to send a request.
Line:
Looker/Looker/Looker/Program.cs
Line 23 in 4271012
Suggestion 4:
It isn't necessary to use an @
symbol when indexing your deserialized JObject
Suggestion 5:
It is safer to deserialize to a strong object instead of indexing on key names, spelling mistakes could happen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.